diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2022-10-24 13:12:23 +0200 |
---|---|---|
committer | Sakari Ailus <sakari.ailus@linux.intel.com> | 2022-10-27 14:48:55 +0300 |
commit | 27cdfbdb9f37192377b993689ed3235a3f80ac8b (patch) | |
tree | e3e2351988d02cc17c3c95bbba13a7a545a1df0d /include/media | |
parent | bee1bc81d3abf5af7bc0e4a39e52f0c4f91d5d36 (diff) | |
download | lwn-27cdfbdb9f37192377b993689ed3235a3f80ac8b.tar.gz lwn-27cdfbdb9f37192377b993689ed3235a3f80ac8b.zip |
media: ov9650: Drop platform data code path
Nothing in the kernel uses the platform data code path.
Drop it, and drop the use of the old legacy <linux/gpio.h>
API in the process.
Cc: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/i2c/ov9650.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/media/i2c/ov9650.h b/include/media/i2c/ov9650.h deleted file mode 100644 index 3ec7e06955b4..000000000000 --- a/include/media/i2c/ov9650.h +++ /dev/null @@ -1,24 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * OV9650/OV9652 camera sensors driver - * - * Copyright (C) 2013 Sylwester Nawrocki <sylvester.nawrocki@gmail.com> - */ -#ifndef OV9650_H_ -#define OV9650_H_ - -/** - * struct ov9650_platform_data - ov9650 driver platform data - * @mclk_frequency: the sensor's master clock frequency in Hz - * @gpio_pwdn: number of a GPIO connected to OV965X PWDN pin - * @gpio_reset: number of a GPIO connected to OV965X RESET pin - * - * If any of @gpio_pwdn or @gpio_reset are unused then they should be - * set to a negative value. @mclk_frequency must always be specified. - */ -struct ov9650_platform_data { - unsigned long mclk_frequency; - int gpio_pwdn; - int gpio_reset; -}; -#endif /* OV9650_H_ */ |