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

Sergey Senozhatsky
2017-12-08T14:48:48Z

On (12/08/17 15:01), Rafael J. Wysocki wrote:
> On Fri, Dec 8, 2017 at 3:56 AM, Sergey Senozhatsky
> <sergey.senozhatsky.work@gmail.com> 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@gmail.com>
> > Cc: Rafael Wysocki <rjw@rjwysocki.net>
> > Cc: Len Brown <len.brown@intel.com>
> > ---
> > 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.

-ss