summaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>2021-12-08 13:17:56 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-12-14 16:19:04 +0100
commitdf78b858e773967112b4444400fb7bb5bd7a9d8a (patch)
treea85bf1255f8ec9426d483a49f8fa0309e7874c39 /net/ceph
parent232c297a4e86fba1e2497012b1fcde6018d46f50 (diff)
downloadlinux-df78b858e773967112b4444400fb7bb5bd7a9d8a.tar.bz2
media: i2c: max9286: Use dev_err_probe() helper
Use the dev_err_probe() helper, instead of open-coding the same operation. While at it retrieve the error once and use it from 'ret' instead of retrieving it twice. Link: https://lore.kernel.org/linux-media/20211208121756.3051565-1-niklas.soderlund+renesas@ragnatech.se Suggested-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Niklas S\xF6derlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions