summaryrefslogtreecommitdiff
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@ew.tq-group.com>2022-12-13 15:07:27 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-02-06 08:36:03 +0100
commite1610209a8879e7bc6a4910f93b071cf6d91cbef (patch)
treef1fc7a43c4b855a876264af2320313066198cde9 /Documentation/driver-api
parentea5930a4dcb0d33db9fc018a753f383394409ed8 (diff)
media: i2c: ov9282: Switch to use dev_err_probe helper
In the probe path, dev_err() can be replaced with dev_err_probe() which will check if error code is -EPROBE_DEFER and prints the error name. It also sets the defer probe reason which can be checked later through debugfs. It's more simple in error path. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'Documentation/driver-api')
0 files changed, 0 insertions, 0 deletions