aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/basic
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-08-09 16:04:06 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-08-13 11:46:55 -0300
commit34925d9f019ca5f2bbb2220bfd7bf353c61d8a27 (patch)
tree42ddc50c5cd978ed829667f2646a9d5bdb4be875 /scripts/basic
parentmedia: i2c: tda1997x: prevent potential NULL pointer access (diff)
media: i2c: adv7842: convert to i2c_new_dummy_device
Move away from the to-be-removed i2c_new_dummy() to i2c_new_dummy_device(). So, we now get an ERRPTR which we use in error handling by printing the error code. To keep the rest of the driver logic as is, internally a NULL ptr is still kept. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions