linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: iio: adc: ad7606: fix function pointer parameter names missing.
@ 2018-06-08 22:13 Giulio Benetti
  2018-06-10 13:42 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Giulio Benetti @ 2018-06-08 22:13 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: device-drivers-devel, Jonathan Cameron, linux-iio, Giulio Benetti

Checkpatch.pl complains about function pointer parameter names missing.

Add parameter names.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
---
 drivers/staging/iio/adc/ad7606.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/iio/adc/ad7606.h b/drivers/staging/iio/adc/ad7606.h
index acaed8d5379c..9716ee9d94a7 100644
--- a/drivers/staging/iio/adc/ad7606.h
+++ b/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,
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-10 13:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-08 22:13 [PATCH] staging: iio: adc: ad7606: fix function pointer parameter names missing Giulio Benetti
2018-06-10 13:42 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).