Browse Source

staging: iio: adc: ad7606: fix function pointer parameter names missing.

Checkpatch.pl complains about function pointer parameter names missing.

Add parameter names.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Reviewed-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Giulio Benetti 7 years ago
parent
commit
727198f99e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/iio/adc/ad7606.h

+ 1 - 1
drivers/staging/iio/adc/ad7606.h

@@ -57,7 +57,7 @@ struct ad7606_state {
 
 struct ad7606_bus_ops {
 	/* more methods added in future? */
-	int (*read_block)(struct device *, int, void *);
+	int (*read_block)(struct device *dev, int num, void *data);
 };
 
 int ad7606_probe(struct device *dev, int irq, void __iomem *base_address,