lkml.org 
[lkml]   [2019]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] soundwire: slave: Fix unused function warning on !ACPI
On 30-08-19, 11:56, Randy Dunlap wrote:
> On 8/30/19 11:52 AM, Michal Suchanek wrote:
> > Fixes the following warning on !ACPI systems:
> >
> > drivers/soundwire/slave.c:16:12: warning: ‘sdw_slave_add’ defined but
> > not used [-Wunused-function]
> > static int sdw_slave_add(struct sdw_bus *bus,
> > ^~~~~~~~~~~~~
> >
> > Signed-off-by: Michal Suchanek <msuchanek@suse.de>
>
> Acked-by: Randy Dunlap <rdunlap@infradead.org>
>
> I was about to send the same patch.

So I have applied Srini's patches which add DT support and they use
sdw_slave_add(). So next tomorrow should not see this error as it is now
used by DT parts as well.

So dropping this patch

--
~Vinod

\
 
 \ /
  Last update: 2019-09-04 11:32    [W:0.076 / U:7.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site