From 5357cf323110ee4a3f4a12870618eca28672c7b9 Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Wed, 21 Jan 2015 16:10:40 +0530 Subject: [PATCH] greybus: Remove "-gb" suffix from .c files Some files are prefixed with "gb-" and some are suffixed with "-gb". The rationale behind the first one is that the modules would be named so, i.e. gb-*.ko. But there is no reason to keep the "-gb" suffix in the second case. Remove the unnecessary suffix. Signed-off-by: Viresh Kumar Reviewed-by: Alex Elder Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/Makefile | 12 ++++++------ drivers/staging/greybus/{gpio-gb.c => gpio.c} | 0 drivers/staging/greybus/{i2c-gb.c => i2c.c} | 0 drivers/staging/greybus/{pwm-gb.c => pwm.c} | 0 drivers/staging/greybus/{sdio-gb.c => sdio.c} | 0 drivers/staging/greybus/{uart-gb.c => uart.c} | 0 drivers/staging/greybus/{usb-gb.c => usb.c} | 0 7 files changed, 6 insertions(+), 6 deletions(-) rename drivers/staging/greybus/{gpio-gb.c => gpio.c} (100%) rename drivers/staging/greybus/{i2c-gb.c => i2c.c} (100%) rename drivers/staging/greybus/{pwm-gb.c => pwm.c} (100%) rename drivers/staging/greybus/{sdio-gb.c => sdio.c} (100%) rename drivers/staging/greybus/{uart-gb.c => uart.c} (100%) rename drivers/staging/greybus/{usb-gb.c => usb.c} (100%) diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile index a5d5470974ba..55b4a37c58fb 100644 --- a/drivers/staging/greybus/Makefile +++ b/drivers/staging/greybus/Makefile @@ -10,12 +10,12 @@ greybus-y := core.o \ operation.o gb-phy-y := gpb.o \ - sdio-gb.o \ - uart-gb.o \ - pwm-gb.o \ - gpio-gb.o \ - i2c-gb.o \ - usb-gb.o + sdio.o \ + uart.o \ + pwm.o \ + gpio.o \ + i2c.o \ + usb.o obj-m += greybus.o obj-m += gb-phy.o diff --git a/drivers/staging/greybus/gpio-gb.c b/drivers/staging/greybus/gpio.c similarity index 100% rename from drivers/staging/greybus/gpio-gb.c rename to drivers/staging/greybus/gpio.c diff --git a/drivers/staging/greybus/i2c-gb.c b/drivers/staging/greybus/i2c.c similarity index 100% rename from drivers/staging/greybus/i2c-gb.c rename to drivers/staging/greybus/i2c.c diff --git a/drivers/staging/greybus/pwm-gb.c b/drivers/staging/greybus/pwm.c similarity index 100% rename from drivers/staging/greybus/pwm-gb.c rename to drivers/staging/greybus/pwm.c diff --git a/drivers/staging/greybus/sdio-gb.c b/drivers/staging/greybus/sdio.c similarity index 100% rename from drivers/staging/greybus/sdio-gb.c rename to drivers/staging/greybus/sdio.c diff --git a/drivers/staging/greybus/uart-gb.c b/drivers/staging/greybus/uart.c similarity index 100% rename from drivers/staging/greybus/uart-gb.c rename to drivers/staging/greybus/uart.c diff --git a/drivers/staging/greybus/usb-gb.c b/drivers/staging/greybus/usb.c similarity index 100% rename from drivers/staging/greybus/usb-gb.c rename to drivers/staging/greybus/usb.c -- 2.39.5