On Mon, 25 Aug 2014, Chris Zhong wrote:
On 08/20/2014 05:21 PM, Lee Jones wrote:[...]
On Wed, 20 Aug 2014, Chris Zhong wrote:
The RK808 chip is a power management IC for multimedia and handheld
devices. It contains the following components:
- Regulators
- RTC
The rk808 core driver is registered as a platform driver and provides
communication through I2C with the host device for the different
components.
Signed-off-by: Chris Zhong <zyw@xxxxxxxxxxxxxx>
---
If the one in dev is empty, you should populate that instead.Can I keep this pdata in rk808, because it is used in the regulator driver.+ rk808->pdata = pdata;Remove pdata from 'struct rk808'. You can obtain it from dev.
The one obtain from dev maybe empty.