lkml.org 
[lkml]   [2012]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 11/11] pm/drivers: fix use of SIMPLE_DEV_PM_OPS
    At Wed, 8 Aug 2012 16:22:29 +0000,
    Arnd Bergmann wrote:
    >
    > On Wednesday 08 August 2012, Stephen Warren wrote:
    > > On 08/08/2012 08:47 AM, Arnd Bergmann wrote:
    > > > A few drivers use a construct like
    > > >
    > > > #ifdef CONFIG_PM
    > > > static int foo_suspend(struct device *pdev)
    > > > {
    > > > ...
    > > > }
    > > > static int foo_resume struct device *pdev)
    > > > {
    > > > ...
    > > > }
    > > > #endif
    > > > static SIMPLE_DEV_PM_OPS(foo_pm, foo_suspend, foo_resume);
    > > ...
    > > > drivers/i2c/busses/i2c-tegra.c:716:12: warning: 'tegra_i2c_suspend' defined but not used [-Wunused-function]
    > > > drivers/i2c/busses/i2c-tegra.c:727:12: warning: 'tegra_i2c_resume' defined but not used [-Wunused-function]
    > >
    > > Laxman already posted a patch for this, which I'm hoping will make it
    > > into 3.6, through the I2C tree.
    > >
    > > http://www.spinics.net/lists/linux-i2c/msg09359.html
    >
    > Ok, dropping this one then.

    I'm going to fix the similar errors in sound tree tomorrow, too.


    thanks,

    Takashi


    \
     
     \ /
      Last update: 2012-08-08 19:21    [W:0.022 / U:2.612 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site