summaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan_netlink.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-01-05 15:33:43 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-07 11:13:08 +0000
commitb9bb09111a4f5dbf8a0bd7df77ec79d3fdf9e5d2 (patch)
tree90d54e6b8a6c3369dc585f5f6f1de6fd324c7aa5 /net/8021q/vlan_netlink.c
parentf02a3917b3bc65149cc077396896f2ae5a2fbe4a (diff)
downloadlinux-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/8021q/vlan_netlink.c')
0 files changed, 0 insertions, 0 deletions