Re: [PATCH] ASoC: max98095: Remove unused max98095_jack_detect

Dr. David Alan Gilbert
2025-02-05T12:38:13Z

* Mark Brown (broonie@kernel.org) wrote:
> On Wed, Feb 05, 2025 at 01:44:58AM +0000, linux@treblig.org wrote:
> > From: "Dr. David Alan Gilbert" <linux@treblig.org>
> >
> > max98095_jack_detect() was added in 2012 as part of
> > commit 9dd90c5db040 ("ASoC: max98095: add jack detection")
> > but hasn't been used.
> >
> > Remove it.
>
> > - max98095_report_jack(client->irq, component);
> > - return 0;
> > -}
> > -EXPORT_SYMBOL_GPL(max98095_jack_detect);
>
> No, this is exported for machine drivers which might not be in tree.

Ah OK; of course it would be nice if they were in the tree.

Thanks,