Re: [PATCH 2/2] mfd: ab8500-debugfs: remove unused function

2016-10-04 Thread Lee Jones
On Sat, 24 Sep 2016, Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/mfd/ab8500-debugfs.c:1395:6: warning: no previous prototype for > 'ab8500_dump_all_banks_to_mem' [-Wmissing-prototypes] > > In fact, this function is called by no one and not exported, > so this pa

Re: [PATCH 2/2] mfd: ab8500-debugfs: remove unused function

2016-10-04 Thread Linus Walleij
On Sat, Sep 24, 2016 at 7:36 AM, Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/mfd/ab8500-debugfs.c:1395:6: warning: no previous prototype for > 'ab8500_dump_all_banks_to_mem' [-Wmissing-prototypes] > > In fact, this function is called by no one and not exported,

[PATCH 2/2] mfd: ab8500-debugfs: remove unused function

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/mfd/ab8500-debugfs.c:1395:6: warning: no previous prototype for 'ab8500_dump_all_banks_to_mem' [-Wmissing-prototypes] In fact, this function is called by no one and not exported, so this patch removes it. Signed-off-by: Baoyou Xie --- dri