dm: Sort the uclass id in alphabetical order
PATCH 1/1 dm: Sort the uclass id in alphabetical order
Some uclass ids are out of order. Per the comments, sort them in alphabetical order.
Signed-off-by Bin Meng <[email protected]>
---
include/dm/uclass-id.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/dm/uclass-id.h +2 -2
@@ -33,7 +33,6 @@ enum uclass_id {UCLASS_CROS_EC ,/* Chrome OS EC */ UCLASS_DISPLAY ,/* Display (e.g. DisplayPort, HDMI) */ UCLASS_DMA ,/* Direct Memory Access */ -UCLASS_RAM ,/* RAM controller */ UCLASS_ETH ,/* Ethernet device */ UCLASS_GPIO ,/* Bank of general-purpose I/O pins */ UCLASS_I2C, /* I2C bus */
@@ -56,11 +55,12 @@ enum uclass_id {UCLASS_PCH ,/* x86 platform controller hub */ UCLASS_PCI ,/* PCI bus */ UCLASS_PCI_GENERIC ,/* Generic PCI bus device */ -UCLASS_PINCTRL ,/* Pinctrl (pin muxing/configuration) device */ UCLASS_PINCONFIG ,/* Pin configuration node device */ +UCLASS_PINCTRL ,/* Pinctrl (pin muxing/configuration) device */ UCLASS_PMIC ,/* PMIC I/O device */ UCLASS_PWM ,/* Pulse-width modulator */ UCLASS_PWRSEQ ,/* Power sequence device */ +UCLASS_RAM ,/* RAM controller */ UCLASS_REGULATOR ,/* Regulator device */ UCLASS_REMOTEPROC ,/* Remote Processor device */ UCLASS_RESET, /* Reset controller device */
Signature · 1 line
2.7.4
PATCH 1/1 dm: Sort the uclass id in alphabetical order
Quoted 8 lines · Bin Meng
Some uclass ids are out of order. Per the comments, sort them in alphabetical order.
Signed-off-by Bin Meng <[email protected]>---
include/dm/uclass-id.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Acked-by Simon Glass <[email protected]>
PATCH 1/1 dm: Sort the uclass id in alphabetical order
Quoted 11 lines · Simon Glass
Quoted 8 lines · Bin Meng
Some uclass ids are out of order. Per the comments, sort them in alphabetical order.
Signed-off-by Bin Meng <[email protected]>---
include/dm/uclass-id.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Acked-by Simon Glass <[email protected]>
Applied to u-boot-dm/next, thanks!