staging:iio:meter: Add name to function definition arguments
authorRodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Wed, 21 Feb 2018 19:54:35 +0000 (16:54 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 24 Feb 2018 13:40:21 +0000 (13:40 +0000)
commit6de543e31d187a6cc4944c76b6234aa1c8f79383
tree169474afae1dd1185f35dfded4afa402c6355485
parentc50fadeff758d4cc6e1ed196f776ae3016b3e021
staging:iio:meter: Add name to function definition arguments

This patch fixes the checkpatch.pl warning:

drivers/staging/iio/meter/ade7854.h:157: WARNING: function definition
argument 'struct device *' should also have an identifier name...

This commit adds arguments names to the signature declared in the
ade7854_state struct. For consistency reason, It also renames all
arguments in function definitions.

Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/meter/ade7754.c
drivers/staging/iio/meter/ade7854-i2c.c
drivers/staging/iio/meter/ade7854-spi.c
drivers/staging/iio/meter/ade7854.h