OSDN Git Service

ASoC: codecs: max98390: fix 'defined but not used' warning
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 7 Jul 2020 19:06:11 +0000 (14:06 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 9 Jul 2020 20:56:49 +0000 (21:56 +0100)
commitce7ed845eb60c119b033057815a4d1d7261367f9
treee8a8a466adaf38b3dea56f0acac75d6614d558c0
parent07ac670981fc5932ca3799ce7d96431d80afce0e
ASoC: codecs: max98390: fix 'defined but not used' warning

Fix W=1 warning and removed unused table. In this case this a
duplicate of

static const struct of_device_id max98390_of_match[] = {
{ .compatible = "maxim,max98390", },
{}
};
MODULE_DEVICE_TABLE(of, max98390_of_match);

already used in the rest of the code.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200707190612.97799-13-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98390.c