diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-01-05 15:33:43 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-07 11:13:08 +0000 |
commit | b9bb09111a4f5dbf8a0bd7df77ec79d3fdf9e5d2 (patch) | |
tree | 90d54e6b8a6c3369dc585f5f6f1de6fd324c7aa5 /net/lapb/lapb_subr.c | |
parent | f02a3917b3bc65149cc077396896f2ae5a2fbe4a (diff) | |
download | linux-b9bb09111a4f5dbf8a0bd7df77ec79d3fdf9e5d2.tar.bz2 |
regulator: lp8788-ldo: Use ldo->en_pin to check if regulator is enabled by external pin
ldo->en_pin is set iff the regulator is enabled by external pin.
This patch sets ldo->en_pin to NULL if lp8788_gpio_request_ldo_en() fails, then
we can use it to determinate if the regulator is controlled by external pin or
register.
lp8788_get_ldo_enable_mode(), lp8788_ldo_ctrl_by_extern_pin() and
lp8788_ldo_is_enabled_by_extern_pin() functions are not used now, remove them.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Milo Kim <milo.kim@ti.com>
Tested-by: Milo Kim <milo.kim@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions