Re: [PATCH 3/9] power: remove unneeded kallsyms include

From: Rafael J. Wysocki
Date: Sun Dec 17 2017 - 13:05:12 EST


On Friday, December 8, 2017 3:48:44 PM CET Sergey Senozhatsky wrote:
> On (12/08/17 15:01), Rafael J. Wysocki wrote:
> > On Fri, Dec 8, 2017 at 3:56 AM, Sergey Senozhatsky
> > <sergey.senozhatsky.work@xxxxxxxxx> wrote:
> > > The file was converted from print_fn_descriptor_symbol()
> > > to %pF some time ago (c80cfb0406c01bb "vsprintf: use new
> > > vsprintf symbolic function pointer format"). kallsyms does
> > > not seem to be needed anymore.
> > >
> > > Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> > > Cc: Rafael Wysocki <rjw@xxxxxxxxxxxxx>
> > > Cc: Len Brown <len.brown@xxxxxxxxx>
> > > ---
> > > drivers/base/power/main.c | 1 -
> > > 1 file changed, 1 deletion(-)
> > >
> > > diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
> > > index 5bc2cf1f812c..e2539d8423f7 100644
> > > --- a/drivers/base/power/main.c
> > > +++ b/drivers/base/power/main.c
> > > @@ -18,7 +18,6 @@
> > > */
> > >
> > > #include <linux/device.h>
> > > -#include <linux/kallsyms.h>
> > > #include <linux/export.h>
> > > #include <linux/mutex.h>
> > > #include <linux/pm.h>
> > > --
> >
> > Do you want me to apply this or do you want to route it differently?
>
> Hello Rafael,
>
> don't mind if you'll pick it up.

OK, applied now.

Thanks!