mfd: twl4030-audio: Fix argument type for twl4030_audio_disable_resource()
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/mfd/twl4030-audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/twl4030-audio.c +1 -1
@@ -118,7 +118,7 @@ EXPORT_SYMBOL_GPL(twl4030_audio_enable_resource);* Disable the resource. * The function returns with error or the content of the register */ -int twl4030_audio_disable_resource (unsigned id) +int twl4030_audio_disable_resource (enum twl4030_audio_res id) {struct twl4030_audio *audio =platform_get_drvdata (twl4030_audio_dev);int val;
Signature · 1 line
1.7.10.4
Quoted 2 lines · Mark Brown
Looks like the conversion to enum was missed for the definition of this function, the declaration has been updated.
Acked-by Peter Ujfalusi <[email protected]>
Quoted 20 lines
Signed-off-by Mark Brown <[email protected]>--- drivers/mfd/twl4030-audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mfd/twl4030-audio.c +1
-1@@ -118,7 +118,7 @@ EXPORT_SYMBOL_GPL(twl4030_audio_enable_resource);* Disable the resource. * The function returns with error or the content of the register */ -int twl4030_audio_disable_resource (unsigned id) +int twl4030_audio_disable_resource (enum twl4030_audio_res id) {struct twl4030_audio *audio =platform_get_drvdata (twl4030_audio_dev);int val;
Signature · 1 line
Péter
Samuel Ortiz
AppliedQuoted 7 lines · Mark Brown
Looks like the conversion to enum was missed for the definition of this function, the declaration has been updated.
Signed-off-by Mark Brown <[email protected]>--- drivers/mfd/twl4030-audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to my mfd-fixes tree, thanks.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/