[PATCH 4/4] iio: accel: Annotate Kconfig entry with module name information

Daniel Baluta daniel.baluta at gmail.com
Tue Dec 16 11:16:02 EET 2014


On Sat, Dec 13, 2014 at 11:55 AM, Roberta Dobrescu
<roberta.dobrescu at gmail.com> wrote:
> This patch fixes the following checkpatch.pl warning:
> WARNING: please write a paragraph that describes the config symbol fully
>
> Signed-off-by: Roberta Dobrescu <roberta.dobrescu at gmail.com>
> ---
>  drivers/iio/accel/Kconfig | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
> index 9b9be87..402a3a5 100644
> --- a/drivers/iio/accel/Kconfig
> +++ b/drivers/iio/accel/Kconfig
> @@ -43,6 +43,9 @@ config HID_SENSOR_ACCEL_3D
>           Say yes here to build support for the HID SENSOR
>           accelerometers 3D.
>
> +         To compile this driver as a module, choose M here: the
> +         module will be called hid-sensor-accel-3d.
> +
>  config IIO_ST_ACCEL_3AXIS
>         tristate "STMicroelectronics accelerometers 3-Axis Driver"
>         depends on (I2C || SPI_MASTER) && SYSFS
> @@ -80,6 +83,9 @@ config KXSD9
>           Say yes here to build support for the Kionix KXSD9 accelerometer.
>           Currently this only supports the device via an SPI interface.
>
> +         To compile this driver as a module, choose M here: the module
> +         will be called kxsd9.
> +
>  config MMA8452
>         tristate "Freescale MMA8452Q Accelerometer Driver"
>         depends on I2C
> --

Looks good.


More information about the firefly mailing list