diff mbox series

[v3,2/2] cosmetic: reset: ast2500: Rename driver and configs

Message ID 20201015022514.970-3-chiawei_wang@aspeedtech.com
State Accepted
Commit b2424cd2f4337cd36aa635d3bc52485f150d8ae6
Delegated to: Tom Rini
Headers show
Series Refactor AST2500 reset control | expand

Commit Message

ChiaWei Wang Oct. 15, 2020, 2:25 a.m. UTC
1. Rename AST2500 reset driver from ast2500-reset.c
   to reset-ast2500.c
2. Rename AST2500 reset kconfig option from AST2500_RESET
   to RESET_AST2500

Signed-off-by: Chia-Wei, Wang <chiawei_wang@aspeedtech.com>
Reviewed-by: Ryan Chen <ryan_chen@aspeedtech.com>
---
 drivers/reset/Kconfig                              | 2 +-
 drivers/reset/Makefile                             | 2 +-
 drivers/reset/{ast2500-reset.c => reset-ast2500.c} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename drivers/reset/{ast2500-reset.c => reset-ast2500.c} (100%)

Comments

Tom Rini Oct. 23, 2020, 12:30 a.m. UTC | #1
On Thu, Oct 15, 2020 at 10:25:14AM +0800, Chia-Wei, Wang wrote:

> 1. Rename AST2500 reset driver from ast2500-reset.c
>    to reset-ast2500.c
> 2. Rename AST2500 reset kconfig option from AST2500_RESET
>    to RESET_AST2500
> 
> Signed-off-by: Chia-Wei, Wang <chiawei_wang@aspeedtech.com>
> Reviewed-by: Ryan Chen <ryan_chen@aspeedtech.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 8b243fdcc6..33c2736554 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -72,7 +72,7 @@  config RESET_UNIPHIER
 	  Say Y if you want to control reset signals provided by System Control
 	  block, Media I/O block, Peripheral Block.
 
-config AST2500_RESET
+config RESET_AST2500
 	bool "Reset controller driver for AST2500 SoCs"
 	depends on DM_RESET
 	default y if ASPEED_AST2500
diff --git a/drivers/reset/Makefile b/drivers/reset/Makefile
index 10a7973f82..fa52aa3329 100644
--- a/drivers/reset/Makefile
+++ b/drivers/reset/Makefile
@@ -14,7 +14,7 @@  obj-$(CONFIG_RESET_TI_SCI) += reset-ti-sci.o
 obj-$(CONFIG_RESET_HSDK) += reset-hsdk.o
 obj-$(CONFIG_RESET_BCM6345) += reset-bcm6345.o
 obj-$(CONFIG_RESET_UNIPHIER) += reset-uniphier.o
-obj-$(CONFIG_AST2500_RESET) += ast2500-reset.o
+obj-$(CONFIG_RESET_AST2500) += reset-ast2500.o
 obj-$(CONFIG_RESET_ROCKCHIP) += reset-rockchip.o
 obj-$(CONFIG_RESET_MESON) += reset-meson.o
 obj-$(CONFIG_RESET_SOCFPGA) += reset-socfpga.o
diff --git a/drivers/reset/ast2500-reset.c b/drivers/reset/reset-ast2500.c
similarity index 100%
rename from drivers/reset/ast2500-reset.c
rename to drivers/reset/reset-ast2500.c