public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Boris BREZILLON <linux-arm@overkiz.com>
To: Axel Lin <axel.lin@ingics.com>
Cc: Thierry Reding <thierry.reding@avionic-design.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/4] pwm: atmel-tcb: Add .owner to struct pwm_ops
Date: Tue, 02 Apr 2013 18:25:30 +0200	[thread overview]
Message-ID: <515B067A.1060909@overkiz.com> (raw)
In-Reply-To: <1364699715.7876.3.camel@phoenix>

On 31/03/2013 05:15, Axel Lin wrote:
> Add missing .owner of struct pwm_ops. This prevents the module from being
> removed from underneath its users.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Acked-by: Boris BREZILLON <linux-arm@overkiz.com>

> ---
>   drivers/pwm/pwm-atmel-tcb.c |    1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pwm/pwm-atmel-tcb.c b/drivers/pwm/pwm-atmel-tcb.c
> index 16cb530..0a7b658 100644
> --- a/drivers/pwm/pwm-atmel-tcb.c
> +++ b/drivers/pwm/pwm-atmel-tcb.c
> @@ -358,6 +358,7 @@ static const struct pwm_ops atmel_tcb_pwm_ops = {
>   	.set_polarity = atmel_tcb_pwm_set_polarity,
>   	.enable = atmel_tcb_pwm_enable,
>   	.disable = atmel_tcb_pwm_disable,
> +	.owner = THIS_MODULE,
>   };
>
>   static int atmel_tcb_pwm_probe(struct platform_device *pdev)
>


  reply	other threads:[~2013-04-02 17:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-31  3:14 [PATCH 1/4] pwm: ab8500: Add .owner to struct pwm_ops Axel Lin
2013-03-31  3:15 ` [PATCH 2/4] pwm: atmel-tcb: " Axel Lin
2013-04-02 16:25   ` Boris BREZILLON [this message]
2013-03-31  3:16 ` [PATCH 3/4] pwm: twl-led: " Axel Lin
2013-04-02  7:15   ` Peter Ujfalusi
2013-03-31  3:17 ` [PATCH 4/4] pwm: twl: " Axel Lin
2013-04-02  7:15   ` Peter Ujfalusi
2013-04-02  9:36 ` [PATCH 1/4] pwm: ab8500: " Thierry Reding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=515B067A.1060909@overkiz.com \
    --to=linux-arm@overkiz.com \
    --cc=axel.lin@ingics.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thierry.reding@avionic-design.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox