public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: twl4030-audio: Fix argument type for twl4030_audio_disable_resource()
@ 2013-03-02  7:30 Mark Brown
  2013-03-02 14:52 ` Peter Ujfalusi
  2013-03-13  8:38 ` Samuel Ortiz
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Brown @ 2013-03-02  7:30 UTC (permalink / raw)
  To: Peter Ujfalusi, Samuel Ortiz; +Cc: linux-kernel, 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 <broonie@opensource.wolfsonmicro.com>
---
 drivers/mfd/twl4030-audio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/twl4030-audio.c b/drivers/mfd/twl4030-audio.c
index e16edca..d2ab222 100644
--- a/drivers/mfd/twl4030-audio.c
+++ b/drivers/mfd/twl4030-audio.c
@@ -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;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mfd: twl4030-audio: Fix argument type for twl4030_audio_disable_resource()
  2013-03-02  7:30 [PATCH] mfd: twl4030-audio: Fix argument type for twl4030_audio_disable_resource() Mark Brown
@ 2013-03-02 14:52 ` Peter Ujfalusi
  2013-03-13  8:38 ` Samuel Ortiz
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Ujfalusi @ 2013-03-02 14:52 UTC (permalink / raw)
  To: Mark Brown; +Cc: Samuel Ortiz, linux-kernel

On 03/02/2013 08:30 AM, Mark Brown wrote:
> Looks like the conversion to enum was missed for the definition of this
> function, the declaration has been updated.

Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>

> 
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
>  drivers/mfd/twl4030-audio.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mfd/twl4030-audio.c b/drivers/mfd/twl4030-audio.c
> index e16edca..d2ab222 100644
> --- a/drivers/mfd/twl4030-audio.c
> +++ b/drivers/mfd/twl4030-audio.c
> @@ -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;
> 


-- 
Péter

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mfd: twl4030-audio: Fix argument type for twl4030_audio_disable_resource()
  2013-03-02  7:30 [PATCH] mfd: twl4030-audio: Fix argument type for twl4030_audio_disable_resource() Mark Brown
  2013-03-02 14:52 ` Peter Ujfalusi
@ 2013-03-13  8:38 ` Samuel Ortiz
  1 sibling, 0 replies; 3+ messages in thread
From: Samuel Ortiz @ 2013-03-13  8:38 UTC (permalink / raw)
  To: Mark Brown; +Cc: Peter Ujfalusi, linux-kernel

On Sat, Mar 02, 2013 at 03:30:35PM +0800, Mark Brown wrote:
> 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>
> ---
>  drivers/mfd/twl4030-audio.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
Applied to my mfd-fixes tree, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-13  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-02  7:30 [PATCH] mfd: twl4030-audio: Fix argument type for twl4030_audio_disable_resource() Mark Brown
2013-03-02 14:52 ` Peter Ujfalusi
2013-03-13  8:38 ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox