Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: twl4030-audio: Fix argument type for twl4030_audio_disable_resource()

Looks like the conversion to enum was missed for the definition of this
function, the declaration has been updated.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

authored by

Mark Brown and committed by
Samuel Ortiz
6049bcef 80e4e671

+1 -1
+1 -1
drivers/mfd/twl4030-audio.c
··· 118 118 * Disable the resource. 119 119 * The function returns with error or the content of the register 120 120 */ 121 - int twl4030_audio_disable_resource(unsigned id) 121 + int twl4030_audio_disable_resource(enum twl4030_audio_res id) 122 122 { 123 123 struct twl4030_audio *audio = platform_get_drvdata(twl4030_audio_dev); 124 124 int val;