lkml.org 
[lkml]   [2015]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] regulator: max8660: Add error message for missing regulator data
On Tue, Mar 24, 2015 at 05:40:11PM +0100, Markus Pargmann wrote:
> On Tue, Mar 24, 2015 at 09:08:57AM -0700, Mark Brown wrote:

> > Why is the platform data mandatory? In general the goal is that a
> > regulator driver should be able to probe with no platform data.

> subdevs[]->platform_data is a struct regulator_init_data which has to
> exist so we can register the regulator later.

No, that's not the case. The regulator API does not require that one be
provided in order to support the above use case.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-03-24 19:01    [W:0.037 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site