]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: simple-amplifier: Rename drv_event() function
authorHerve Codina <herve.codina@bootlin.com>
Wed, 13 May 2026 08:16:50 +0000 (10:16 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 18 May 2026 16:44:06 +0000 (17:44 +0100)
commitdc8beaad292646cc7a019aad50762591e2939632
tree2fd962e70c8fabdf8068a657cc1239e4df49c37f
parent2c562adb159ea3f4e5fdf4074e512ae369b4c22b
ASoC: simple-amplifier: Rename drv_event() function

The drv_event() is used to handle power events related to the DRV item.

Later, with the support for gpio-audio-amp, this function will be
also used to handle power events related to the PGA item.

Also, more functions will be added in the driver and it is a common
usage to prefix functions based on the driver name.

Rename the drv_event() function to simple_amp_power_event() to follow
common usage and get rid of the 'drv' term.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Link: https://patch.msgid.link/20260513081702.317117-7-herve.codina@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/simple-amplifier.c