MLK-11395-3 regulator: consumer: add new event macros
authorFancy Fang <chen.fang@freescale.com>
Fri, 21 Aug 2015 06:19:27 +0000 (14:19 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:05 +0000 (14:48 -0500)
commit9afc32de27b47aa92e07d912e0690b7ba16be13f
treef8aba35f652e52516d90ddcd72f8202fe0cce4a9
parent5a41b83de737745d8c4c2cefbdafb1c9449c22fd
MLK-11395-3 regulator: consumer: add new event macros

Add two new regulator events macro 'REGULATOR_EVENT_PRE_DO_ENABLE'
and 'REGULATOR_EVENT_PRE_DO_DISABLE', since some gpc operations
should be required when MIPI PHY is powered on/off.

Signed-off-by: Fancy Fang <chen.fang@freescale.com>
drivers/regulator/core.c
include/linux/regulator/consumer.h