lkml.org 
[lkml]   [2012]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] twl-regulator: Allow CONFIG_TWL4030_ALLOW_UNSUPPORTED to be requested.
On Wed, Apr 25, 2012 at 07:59:56PM +1000, NeilBrown wrote:

> That make sense - but I cannot find a good place to put the flag.
> TWL doesn't have any twl-specific platform data, it just uses
> struct regulator_init_data. I don't suppose it would be acceptable
> to tuck an 'allow_unsupported' flag inside 'struct regulation_constraints'?

> I'm not sure how else to do it without fairly major surgery.

This is what the driver_data in regulator_init_data is there for - to
allow device specific extensions to be added if needed. I guess it
should be possible to use that?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-04-25 12:15    [W:0.431 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site