summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-sh.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-09-09 12:03:54 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-09-22 00:14:41 +0200
commit473195f80f3940afc8a1461831d74f9a44bba538 (patch)
tree8807076c4bd088a3923d6b765981f1002e2f701e /drivers/spi/spi-sh.c
parentrtc: ds1347: changed raw spi calls to register map calls (diff)
downloadlinux-473195f80f3940afc8a1461831d74f9a44bba538.tar.xz
linux-473195f80f3940afc8a1461831d74f9a44bba538.zip
rtc: ac100: Add NULL checking for devm_kzalloc call
devm_kzalloc can return NULL, add NULL checking to prevent NULL pointer dereference. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/spi/spi-sh.c')
0 files changed, 0 insertions, 0 deletions