drivers: media: imx708: Tidy-ups to address upstream review comments
authorNaushir Patuck <naush@raspberrypi.com>
Fri, 31 Mar 2023 09:33:51 +0000 (10:33 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:30 +0000 (11:33 +0000)
commite8077e3f1de1e239acca20394b8ef7f68b8a9507
tree94ea8ae4e96daa5e05cec9ce9670a9841b1039fb
parent23c87808f9dc3e6b6ce5dcf0d48f9a642a6a1653
drivers: media: imx708: Tidy-ups to address upstream review comments

This commit addresses vaious tidy-ups requesed for upstreaming the
IMX708 driver. Notably:

- Remove #define IMX708_NUM_SUPPLIES and use ARRAY_SIZE() directly
- Use dev_err_probe where possible in imx708_probe()
- Fix error handling paths in imx708_probe()

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
drivers/media/i2c/imx708.c