[3/9] power: remove unneeded kallsyms include
diff mbox series

Message ID 20171208025616.16267-4-sergey.senozhatsky@gmail.com
State New, archived
Headers show
Series
  • remove some of unneeded kallsyms includes
Related show

Commit Message

Sergey Senozhatsky Dec. 8, 2017, 2:56 a.m. UTC
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(-)

Comments

Rafael J. Wysocki Dec. 8, 2017, 2:01 p.m. UTC | #1
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?
Sergey Senozhatsky Dec. 8, 2017, 2:48 p.m. UTC | #2
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
Rafael J. Wysocki Dec. 17, 2017, 6:04 p.m. UTC | #3
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@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.

OK, applied now.

Thanks!
Sergey Senozhatsky Dec. 18, 2017, 2:37 p.m. UTC | #4
On (12/17/17 19:04), Rafael J. Wysocki wrote:
[..]
> > > 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!

thanks!

	-ss

Patch
diff mbox series

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>