Re: [PATCH -next] mfd: Make symbol 'atc260x_i2c_of_match' static

2021-03-22 Thread Lee Jones
On Thu, 11 Mar 2021, 'Wei Yongjun wrote: > From: Wei Yongjun > > The sparse tool complains as follows: > > drivers/mfd/atc260x-i2c.c:45:27: warning: > symbol 'atc260x_i2c_of_match' was not declared. Should it be static? > > This symbol is not used outside of atc260x-i2c.c, so this > commit ma

Re: [PATCH -next] mfd: Make symbol 'atc260x_i2c_of_match' static

2021-03-11 Thread Cristian Ciocaltea
On Thu, Mar 11, 2021 at 01:15:07PM +, 'Wei Yongjun wrote: > From: Wei Yongjun > > The sparse tool complains as follows: > > drivers/mfd/atc260x-i2c.c:45:27: warning: > symbol 'atc260x_i2c_of_match' was not declared. Should it be static? > > This symbol is not used outside of atc260x-i2c.c,

[PATCH -next] mfd: Make symbol 'atc260x_i2c_of_match' static

2021-03-11 Thread 'Wei Yongjun
From: Wei Yongjun The sparse tool complains as follows: drivers/mfd/atc260x-i2c.c:45:27: warning: symbol 'atc260x_i2c_of_match' was not declared. Should it be static? This symbol is not used outside of atc260x-i2c.c, so this commit marks it static. Fixes: f7cb7fe34db9 ("mfd: Add MFD driver fo