commit | 971645d1fd734b8098a5113d61ab9ea93ce83921 | [log] [tgz] |
---|---|---|
author | Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> | Tue Sep 02 09:51:19 2014 -0300 |
committer | Dave Airlie <airlied@redhat.com> | Wed Sep 17 10:55:05 2014 +1000 |
tree | ecdecf706d131724b6154bda2800b6f01b549f87 | |
parent | e3a9b04621681d0f07bc8e9935684e6400edef7c [diff] |
drm/tilcdc: panel: Use devm_kzalloc to simplify the error path Using the managed variant to allocate the resource makes the code simpler and less error-prone. Tested-by: Darren Etheridge <detheridge@ti.com> Tested-by: Johannes Pointner <johannes.pointner@br-automation.com> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Dave Airlie <airlied@redhat.com>