lkml.org 
[lkml]   [2012]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Input: twl6040-vibra: Update for device tree support
From
Hi Dmitry,

On Wed, May 16, 2012 at 10:35 PM, Dmitry Torokhov
<dmitry.torokhov@gmail.com> wrote:
> So in this case why don't you have parent parse all DT data and
> construct instance of pdata for vibra driver to consume?

If there is a need to change the parameters (add new ones for example)
for the vibra driver in this way the change in code only need to be
done in the vibra driver.
If the MFD core would construct the pdata, in this case I would need
to modify both the MFD core and vibra driver.

--
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-05-16 22:41    [W:0.057 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site