From 464888410d3499708baf168bc52e13f18d0cf0ae Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva Date: Thu, 12 Nov 2015 15:35:59 +0000 Subject: [PATCH] greybus: battery: move battery file to power_supply Rename the battery.c to power_supply.c and update the makefile as the Greybus protocol is being renamed from battery to power_supply. Signed-off-by: Rui Miguel Silva Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/Makefile | 4 ++-- drivers/staging/greybus/{battery.c => power_supply.c} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename drivers/staging/greybus/{battery.c => power_supply.c} (100%) diff --git a/drivers/staging/greybus/Makefile b/drivers/staging/greybus/Makefile index 8b28b4b5a53d..d479a0291ed7 100644 --- a/drivers/staging/greybus/Makefile +++ b/drivers/staging/greybus/Makefile @@ -24,7 +24,7 @@ gb-phy-y := gpbridge.o \ # Prefix all modules with gb- gb-vibrator-y := vibrator.o -gb-battery-y := battery.o +gb-power-supply-y := power_supply.o gb-loopback-y := loopback.o gb-light-y := light.o gb-raw-y := raw.o @@ -36,7 +36,7 @@ gb-db3-y := db3-platform.o obj-m += greybus.o obj-m += gb-phy.o obj-m += gb-vibrator.o -obj-m += gb-battery.o +obj-m += gb-power-supply.o obj-m += gb-loopback.o obj-m += gb-light.o obj-m += gb-hid.o diff --git a/drivers/staging/greybus/battery.c b/drivers/staging/greybus/power_supply.c similarity index 100% rename from drivers/staging/greybus/battery.c rename to drivers/staging/greybus/power_supply.c -- 2.20.1