diff mbox series

gpio: Rename devres implementation file

Message ID 20180925072133.20349-1-linus.walleij@linaro.org
State Accepted
Commit 32d064a16eaace1866610f36fb5f4b114d979246
Headers show
Series gpio: Rename devres implementation file | expand

Commit Message

Linus Walleij Sept. 25, 2018, 7:21 a.m. UTC
All the other core files are named "gpiolib-<something>" so
let's rename the devres as well so we have some logical
namespacing here.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/gpio/Makefile                       | 2 +-
 drivers/gpio/{devres.c => gpiolib-devres.c} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename drivers/gpio/{devres.c => gpiolib-devres.c} (100%)

-- 
2.17.1
diff mbox series

Patch

diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
index 80d58c2de730..f3a2efbf858b 100644
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -3,8 +3,8 @@ 
 
 ccflags-$(CONFIG_DEBUG_GPIO)	+= -DDEBUG
 
-obj-$(CONFIG_GPIOLIB)		+= devres.o
 obj-$(CONFIG_GPIOLIB)		+= gpiolib.o
+obj-$(CONFIG_GPIOLIB)		+= gpiolib-devres.o
 obj-$(CONFIG_GPIOLIB)		+= gpiolib-legacy.o
 obj-$(CONFIG_GPIOLIB)		+= gpiolib-devprop.o
 obj-$(CONFIG_OF_GPIO)		+= gpiolib-of.o
diff --git a/drivers/gpio/devres.c b/drivers/gpio/gpiolib-devres.c
similarity index 100%
rename from drivers/gpio/devres.c
rename to drivers/gpio/gpiolib-devres.c