lkml.org 
[lkml]   [2012]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: [PATCH v4] regulator: Add S5M8767A regulator driver
    Date
    Hi,
    On Mon, Jan 9, 2011 at 04:25PM, Mark Brown wrote:

    > I was expecting a new version with these:
    >
    > > +static int s5m8767_reg_enable_suspend(struct regulator_dev *rdev)
    > > +static int s5m8767_reg_disable_suspend(struct regulator_dev *rdev)
    >

    After delete above functions, Is it right to code like below?

    +static struct regulator_ops s5m8767_buck_ops = {
    + .enable = s5m8767_reg_enable,
    + .disable = s5m8767_reg_disable,
    + .set_suspend_enable = s5m8767_reg_enable,
    + .set_suspend_disable = s5m8767_reg_disable,

    Thanks,
    Sangbeom.



    \
     
     \ /
      Last update: 2012-01-09 09:37    [W:0.026 / U:0.384 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site