Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git] / drivers / regulator / tps6524x-regulator.c
index 2e94686b6fe647cc8b424a36c813abdbd4e16629..4a421be6d4f2fa7d7b700b43a24367d354b0a020 100644 (file)
 #define N_DCDC                 3
 #define N_LDO                  2
 #define N_SWITCH               2
-#define N_REGULATORS           (3 /* DCDC */ + \
-                                2 /* LDO */  + \
-                                2 /* switch */)
+#define N_REGULATORS           (N_DCDC + N_LDO + N_SWITCH)
 
 #define FIXED_ILIMSEL          BIT(0)
 #define FIXED_VOLTAGE          BIT(1)