diff mbox series

ASoC: codecs: rt715-sdca: remove useless assignment of ops

Message ID 20220509185729.59884-1-pierre-louis.bossart@linux.intel.com
State Accepted
Commit 5118da41c7594ccf4e64003bf325ffcefb3da6e3
Headers show
Series ASoC: codecs: rt715-sdca: remove useless assignment of ops | expand

Commit Message

Pierre-Louis Bossart May 9, 2022, 6:57 p.m. UTC
The ops are already part of the 'struct sdw_driver', it's unclear why
this was copied into the 'slave' structure - no other driver does so.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
 sound/soc/codecs/rt715-sdca-sdw.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Mark Brown May 10, 2022, 1 p.m. UTC | #1
On Mon, 9 May 2022 13:57:29 -0500, Pierre-Louis Bossart wrote:
> The ops are already part of the 'struct sdw_driver', it's unclear why
> this was copied into the 'slave' structure - no other driver does so.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: codecs: rt715-sdca: remove useless assignment of ops
      commit: 5118da41c7594ccf4e64003bf325ffcefb3da6e3

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/sound/soc/codecs/rt715-sdca-sdw.c b/sound/soc/codecs/rt715-sdca-sdw.c
index a5c673f43d824..0ecd2948f7aa7 100644
--- a/sound/soc/codecs/rt715-sdca-sdw.c
+++ b/sound/soc/codecs/rt715-sdca-sdw.c
@@ -181,8 +181,6 @@  static int rt715_sdca_sdw_probe(struct sdw_slave *slave,
 {
 	struct regmap *mbq_regmap, *regmap;
 
-	slave->ops = &rt715_sdca_slave_ops;
-
 	/* Regmap Initialization */
 	mbq_regmap = devm_regmap_init_sdw_mbq(slave, &rt715_sdca_mbq_regmap);
 	if (IS_ERR(mbq_regmap))