diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-03-09 02:39:35 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-02 17:37:37 -0400 |
| commit | 739cfd9be9af6bbbe4c652077add59409adf2225 (patch) | |
| tree | 7a5ee6a28e9ea1ba01977be6fe86dc511795cf76 /drivers/media/platform/soc_camera | |
| parent | 3781760a3d2bed2df8ed4cc3d061f8541bf7bd1d (diff) | |
[media] rcar-vin: Don't implement empty optional clock operations
The clock_start and clock_stop operations are now optional, don't
implement empty stubs.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/soc_camera')
| -rw-r--r-- | drivers/media/platform/soc_camera/rcar_vin.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/media/platform/soc_camera/rcar_vin.c b/drivers/media/platform/soc_camera/rcar_vin.c index 279ab9f6ae38..9351f64dee7b 100644 --- a/drivers/media/platform/soc_camera/rcar_vin.c +++ b/drivers/media/platform/soc_camera/rcar_vin.c | |||
| @@ -977,19 +977,6 @@ static void rcar_vin_remove_device(struct soc_camera_device *icd) | |||
| 977 | icd->devnum); | 977 | icd->devnum); |
| 978 | } | 978 | } |
| 979 | 979 | ||
| 980 | /* Called with .host_lock held */ | ||
| 981 | static int rcar_vin_clock_start(struct soc_camera_host *ici) | ||
| 982 | { | ||
| 983 | /* VIN does not have "mclk" */ | ||
| 984 | return 0; | ||
| 985 | } | ||
| 986 | |||
| 987 | /* Called with .host_lock held */ | ||
| 988 | static void rcar_vin_clock_stop(struct soc_camera_host *ici) | ||
| 989 | { | ||
| 990 | /* VIN does not have "mclk" */ | ||
| 991 | } | ||
| 992 | |||
| 993 | static void set_coeff(struct rcar_vin_priv *priv, unsigned short xs) | 980 | static void set_coeff(struct rcar_vin_priv *priv, unsigned short xs) |
| 994 | { | 981 | { |
| 995 | int i; | 982 | int i; |
| @@ -1803,8 +1790,6 @@ static struct soc_camera_host_ops rcar_vin_host_ops = { | |||
| 1803 | .owner = THIS_MODULE, | 1790 | .owner = THIS_MODULE, |
| 1804 | .add = rcar_vin_add_device, | 1791 | .add = rcar_vin_add_device, |
| 1805 | .remove = rcar_vin_remove_device, | 1792 | .remove = rcar_vin_remove_device, |
| 1806 | .clock_start = rcar_vin_clock_start, | ||
| 1807 | .clock_stop = rcar_vin_clock_stop, | ||
| 1808 | .get_formats = rcar_vin_get_formats, | 1793 | .get_formats = rcar_vin_get_formats, |
| 1809 | .put_formats = rcar_vin_put_formats, | 1794 | .put_formats = rcar_vin_put_formats, |
| 1810 | .get_crop = rcar_vin_get_crop, | 1795 | .get_crop = rcar_vin_get_crop, |
