On Wed, Jun 26, 2013 at 09:35:01AM +0800, Chao Xie wrote: > The regulator driver does not only work for 88pm805 but also for the > next lite version 88pm822. > 88pm822 only have 14 LDOes. So i defined array of points in pdata. > When user define pdata for 88pm805, it can fill all 19 LDOes, while > for 88pm822, it only fill 14 LDOes, and set > others to be NULL, and do not need fill some dummy data into the left 5 LDOes. > The 88pm822 is just tape out, and we are debugging at it. So the > detection of 88pm822 is not added to this driver yet.
Handling of multiple devices like that would normally be done by using the device name that is registered.
signature.asc
Description: Digital signature

