From e3f4c6d48efb4c44aaab522752a6aec3531dfebf Mon Sep 17 00:00:00 2001 From: Dimitris Mantzouranis Date: Wed, 3 Jan 2024 12:50:19 +0200 Subject: [PATCH] drivers: sn32f2xx: simplify name and location --- builddefs/common_features.mk | 4 ++-- drivers/led/{sn32/rgb_matrix_sn32f2xx.c => sn32f2xx.c} | 0 drivers/led/{sn32 => }/sn32f2xx.h | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename drivers/led/{sn32/rgb_matrix_sn32f2xx.c => sn32f2xx.c} (100%) rename drivers/led/{sn32 => }/sn32f2xx.h (100%) diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk index 86f4498ee2b6..3dc686086304 100644 --- a/builddefs/common_features.mk +++ b/builddefs/common_features.mk @@ -549,8 +549,8 @@ ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) endif ifeq ($(strip $(RGB_MATRIX_DRIVER)), sn32f2xx) - COMMON_VPATH += $(DRIVER_PATH)/led/sn32 - SRC += rgb_matrix_sn32f2xx.c + COMMON_VPATH += $(DRIVER_PATH)/led + SRC += sn32f2xx.c endif ifeq ($(strip $(RGB_MATRIX_CUSTOM_KB)), yes) diff --git a/drivers/led/sn32/rgb_matrix_sn32f2xx.c b/drivers/led/sn32f2xx.c similarity index 100% rename from drivers/led/sn32/rgb_matrix_sn32f2xx.c rename to drivers/led/sn32f2xx.c diff --git a/drivers/led/sn32/sn32f2xx.h b/drivers/led/sn32f2xx.h similarity index 100% rename from drivers/led/sn32/sn32f2xx.h rename to drivers/led/sn32f2xx.h