fan53555.c (6f34163c5474326dd70239045f1957fe369460dd) fan53555.c (fe230531b3f94f33e5a4c0b201b651188c6cc132)
1/*
2 * FAN53555 Fairchild Digitally Programmable TinyBuck Regulator Driver.
3 *
4 * Supported Part Numbers:
5 * FAN53555UC00X/01X/03X/04X/05X
6 *
7 * Copyright (c) 2012 Marvell Technology Ltd.
8 * Yunfan Zhang <yfzhang@marvell.com>

--- 253 unchanged lines hidden (view full) ---

262 switch (di->vendor) {
263 case FAN53555_VENDOR_FAIRCHILD:
264 ret = fan53555_voltages_setup_fairchild(di);
265 break;
266 case FAN53555_VENDOR_SILERGY:
267 ret = fan53555_voltages_setup_silergy(di);
268 break;
269 default:
1/*
2 * FAN53555 Fairchild Digitally Programmable TinyBuck Regulator Driver.
3 *
4 * Supported Part Numbers:
5 * FAN53555UC00X/01X/03X/04X/05X
6 *
7 * Copyright (c) 2012 Marvell Technology Ltd.
8 * Yunfan Zhang <yfzhang@marvell.com>

--- 253 unchanged lines hidden (view full) ---

262 switch (di->vendor) {
263 case FAN53555_VENDOR_FAIRCHILD:
264 ret = fan53555_voltages_setup_fairchild(di);
265 break;
266 case FAN53555_VENDOR_SILERGY:
267 ret = fan53555_voltages_setup_silergy(di);
268 break;
269 default:
270 dev_err(di->dev,
271 "vendor %d not supported!\n", di->chip_id);
270 dev_err(di->dev, "vendor %d not supported!\n", di->vendor);
272 return -EINVAL;
273 }
274
275 return ret;
276}
277
278static int fan53555_regulator_register(struct fan53555_device_info *di,
279 struct regulator_config *config)

--- 176 unchanged lines hidden ---
271 return -EINVAL;
272 }
273
274 return ret;
275}
276
277static int fan53555_regulator_register(struct fan53555_device_info *di,
278 struct regulator_config *config)

--- 176 unchanged lines hidden ---