On Wed, 22 Mar 2023, Tom Rix wrote: > clang with W=1 reports > drivers/mfd/twl-core.c:654:30: error: unused function 'add_child' [-Werror,-Wunused-function] > static inline struct device *add_child(unsigned mod_no, const char *name, > ^ > add_numbered_child and its only caller add_child are not used, so remove them. > > Signed-off-by: Tom Rix <trix@xxxxxxxxxx> > --- > drivers/mfd/twl-core.c | 65 ------------------------------------------ > 1 file changed, 65 deletions(-) I chopped around the commit message a bit and: Applied, thanks -- Lee Jones [李琼斯]