Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: lp87565: Move LP87565_regulator_id to .c file

This enum is used only internally to the regulator driver for buck indexes.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Luca Ceresoli and committed by
Lee Jones
5258f7ee c06a40e9

+11 -11
+11
drivers/regulator/lp87565-regulator.c
··· 11 11 12 12 #include <linux/mfd/lp87565.h> 13 13 14 + enum LP87565_regulator_id { 15 + /* BUCK's */ 16 + LP87565_BUCK_0, 17 + LP87565_BUCK_1, 18 + LP87565_BUCK_2, 19 + LP87565_BUCK_3, 20 + LP87565_BUCK_10, 21 + LP87565_BUCK_23, 22 + LP87565_BUCK_3210, 23 + }; 24 + 14 25 #define LP87565_REGULATOR(_name, _id, _of, _ops, _n, _vr, _vm, \ 15 26 _er, _em, _ev, _delay, _lr, _cr) \ 16 27 [_id] = { \
-11
include/linux/mfd/lp87565.h
··· 237 237 #define LP87565_GPIO2_OUT BIT(1) 238 238 #define LP87565_GPIO1_OUT BIT(0) 239 239 240 - enum LP87565_regulator_id { 241 - /* BUCK's */ 242 - LP87565_BUCK_0, 243 - LP87565_BUCK_1, 244 - LP87565_BUCK_2, 245 - LP87565_BUCK_3, 246 - LP87565_BUCK_10, 247 - LP87565_BUCK_23, 248 - LP87565_BUCK_3210, 249 - }; 250 - 251 240 /** 252 241 * struct LP87565 - state holder for the LP87565 driver 253 242 * @dev: struct device pointer for MFD device