Skip to content

Commit

Permalink
mfd: max8925: Remove array in regulator platform data
Browse files Browse the repository at this point in the history
Remove array in parent's platform data. Use struct regulator_init_data
as regulator device's platform data directly. So a lot of pdata are
added into parent's platform data. And voltage out register offset
is used as IORESOURCE_REG to distinguish different regualtor devices.

Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Haojian Zhuang authored and Samuel Ortiz committed Sep 19, 2012
1 parent 63b501e commit 51acdb6
Show file tree
Hide file tree
Showing 3 changed files with 356 additions and 93 deletions.
Loading

0 comments on commit 51acdb6

Please sign in to comment.