]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-10058-2 regulator: consumer: define pre_xxx event macros
authorRichard Zhu <Richard.Zhu@freescale.com>
Thu, 25 Dec 2014 06:28:06 +0000 (14:28 +0800)
committerRichard Zhu <Richard.Zhu@freescale.com>
Mon, 19 Jan 2015 01:01:09 +0000 (09:01 +0800)
commitdf691a62a6917321c9b85b0b6e9e56f1c01ace5d
tree643e2ff9aeeff54906de58de9b0af55cc6273e03
parent7899749a6ef41fe958de5bd618fc0b149305612a
MLK-10058-2 regulator: consumer: define pre_xxx event macros

Some gpc operations are mandatory required when
iMX6SX PCIe PHY is powered on/off.
use the notify framwork to encapsulate the
pre-operations in gpc driver
- add two pre-xxx macros into consumer.h
- kick off the pre-xxx events in enable/disalbe call back.

Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
drivers/regulator/core.c
include/linux/regulator/consumer.h