summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-dev.c
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>2014-09-02 09:51:19 -0300
committerDave Airlie <airlied@redhat.com>2014-09-17 10:55:05 +1000
commit971645d1fd734b8098a5113d61ab9ea93ce83921 (patch)
treeecdecf706d131724b6154bda2800b6f01b549f87 /drivers/rtc/rtc-dev.c
parente3a9b04621681d0f07bc8e9935684e6400edef7c (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>
Diffstat (limited to 'drivers/rtc/rtc-dev.c')
0 files changed, 0 insertions, 0 deletions