Re: [PATCH 1/2] staging: iio: tsl2x7x: rename driver for consistency with other IIO light drivers
From: Jonathan Cameron
Date: Sun May 07 2017 - 18:46:05 EST
On 05/05/17 01:38, Brian Masney wrote:
> This patch renames the tsl2x7x_core.c file to tsl2x7x.c so that the
> naming convention is consistent with other IIO light drivers outside
> of staging.
>
> Signed-off-by: Brian Masney <masneyb@xxxxxxxxxxxxx>
Applied to the togreg branch of iio.git and pushed out as testing
for the autobuilders to play with it.
Thanks,
Jonathan
> ---
> drivers/staging/iio/light/Makefile | 2 +-
> drivers/staging/iio/light/{tsl2x7x_core.c => tsl2x7x.c} | 0
> 2 files changed, 1 insertion(+), 1 deletion(-)
> rename drivers/staging/iio/light/{tsl2x7x_core.c => tsl2x7x.c} (100%)
>
> diff --git a/drivers/staging/iio/light/Makefile b/drivers/staging/iio/light/Makefile
> index 10286c3..ab8dc3a 100644
> --- a/drivers/staging/iio/light/Makefile
> +++ b/drivers/staging/iio/light/Makefile
> @@ -2,4 +2,4 @@
> # Makefile for industrial I/O Light sensors
> #
>
> -obj-$(CONFIG_TSL2x7x) += tsl2x7x_core.o
> +obj-$(CONFIG_TSL2x7x) += tsl2x7x.o
> diff --git a/drivers/staging/iio/light/tsl2x7x_core.c b/drivers/staging/iio/light/tsl2x7x.c
> similarity index 100%
> rename from drivers/staging/iio/light/tsl2x7x_core.c
> rename to drivers/staging/iio/light/tsl2x7x.c
>