* [PATCH 1/4] pwm: ab8500: Add .owner to struct pwm_ops
@ 2013-03-31 3:14 Axel Lin
2013-03-31 3:15 ` [PATCH 2/4] pwm: atmel-tcb: " Axel Lin
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Axel Lin @ 2013-03-31 3:14 UTC (permalink / raw)
To: Thierry Reding; +Cc: Arun R Murthy, linux-kernel
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>
---
drivers/pwm/pwm-ab8500.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pwm/pwm-ab8500.c b/drivers/pwm/pwm-ab8500.c
index 3beb2b5..1d07a6f 100644
--- a/drivers/pwm/pwm-ab8500.c
+++ b/drivers/pwm/pwm-ab8500.c
@@ -88,6 +88,7 @@ static const struct pwm_ops ab8500_pwm_ops = {
.config = ab8500_pwm_config,
.enable = ab8500_pwm_enable,
.disable = ab8500_pwm_disable,
+ .owner = THIS_MODULE,
};
static int ab8500_pwm_probe(struct platform_device *pdev)
--
1.7.10.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/4] pwm: atmel-tcb: Add .owner to struct pwm_ops
2013-03-31 3:14 [PATCH 1/4] pwm: ab8500: Add .owner to struct pwm_ops Axel Lin
@ 2013-03-31 3:15 ` Axel Lin
2013-04-02 16:25 ` Boris BREZILLON
2013-03-31 3:16 ` [PATCH 3/4] pwm: twl-led: " Axel Lin
` (2 subsequent siblings)
3 siblings, 1 reply; 8+ messages in thread
From: Axel Lin @ 2013-03-31 3:15 UTC (permalink / raw)
To: Thierry Reding; +Cc: Boris BREZILLON, linux-kernel
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>
---
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)
--
1.7.10.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/4] pwm: twl-led: Add .owner to struct pwm_ops
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-03-31 3:16 ` Axel Lin
2013-04-02 7:15 ` Peter Ujfalusi
2013-03-31 3:17 ` [PATCH 4/4] pwm: twl: " Axel Lin
2013-04-02 9:36 ` [PATCH 1/4] pwm: ab8500: " Thierry Reding
3 siblings, 1 reply; 8+ messages in thread
From: Axel Lin @ 2013-03-31 3:16 UTC (permalink / raw)
To: Thierry Reding; +Cc: Peter Ujfalusi, linux-kernel
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>
---
drivers/pwm/pwm-twl-led.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pwm/pwm-twl-led.c b/drivers/pwm/pwm-twl-led.c
index 83e25d4..f912e87 100644
--- a/drivers/pwm/pwm-twl-led.c
+++ b/drivers/pwm/pwm-twl-led.c
@@ -271,6 +271,7 @@ static const struct pwm_ops twl4030_pwmled_ops = {
.enable = twl4030_pwmled_enable,
.disable = twl4030_pwmled_disable,
.config = twl4030_pwmled_config,
+ .owner = THIS_MODULE,
};
static const struct pwm_ops twl6030_pwmled_ops = {
@@ -279,6 +280,7 @@ static const struct pwm_ops twl6030_pwmled_ops = {
.config = twl6030_pwmled_config,
.request = twl6030_pwmled_request,
.free = twl6030_pwmled_free,
+ .owner = THIS_MODULE,
};
static int twl_pwmled_probe(struct platform_device *pdev)
--
1.7.10.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 4/4] pwm: twl: Add .owner to struct pwm_ops
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-03-31 3:16 ` [PATCH 3/4] pwm: twl-led: " Axel Lin
@ 2013-03-31 3:17 ` Axel Lin
2013-04-02 7:15 ` Peter Ujfalusi
2013-04-02 9:36 ` [PATCH 1/4] pwm: ab8500: " Thierry Reding
3 siblings, 1 reply; 8+ messages in thread
From: Axel Lin @ 2013-03-31 3:17 UTC (permalink / raw)
To: Thierry Reding; +Cc: Peter Ujfalusi, linux-kernel
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>
---
drivers/pwm/pwm-twl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pwm/pwm-twl.c b/drivers/pwm/pwm-twl.c
index bf3fda2..ee7fa5d 100644
--- a/drivers/pwm/pwm-twl.c
+++ b/drivers/pwm/pwm-twl.c
@@ -287,12 +287,14 @@ static const struct pwm_ops twl4030_pwm_ops = {
.disable = twl4030_pwm_disable,
.request = twl4030_pwm_request,
.free = twl4030_pwm_free,
+ .owner = THIS_MODULE,
};
static const struct pwm_ops twl6030_pwm_ops = {
.config = twl_pwm_config,
.enable = twl6030_pwm_enable,
.disable = twl6030_pwm_disable,
+ .owner = THIS_MODULE,
};
static int twl_pwm_probe(struct platform_device *pdev)
--
1.7.10.4
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 3/4] pwm: twl-led: Add .owner to struct pwm_ops
2013-03-31 3:16 ` [PATCH 3/4] pwm: twl-led: " Axel Lin
@ 2013-04-02 7:15 ` Peter Ujfalusi
0 siblings, 0 replies; 8+ messages in thread
From: Peter Ujfalusi @ 2013-04-02 7:15 UTC (permalink / raw)
To: Axel Lin; +Cc: Thierry Reding, linux-kernel
On 03/31/2013 05:16 AM, 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: Peter Ujfalusi <peter.ujfalusi@ti.com>
> ---
> drivers/pwm/pwm-twl-led.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/pwm/pwm-twl-led.c b/drivers/pwm/pwm-twl-led.c
> index 83e25d4..f912e87 100644
> --- a/drivers/pwm/pwm-twl-led.c
> +++ b/drivers/pwm/pwm-twl-led.c
> @@ -271,6 +271,7 @@ static const struct pwm_ops twl4030_pwmled_ops = {
> .enable = twl4030_pwmled_enable,
> .disable = twl4030_pwmled_disable,
> .config = twl4030_pwmled_config,
> + .owner = THIS_MODULE,
> };
>
> static const struct pwm_ops twl6030_pwmled_ops = {
> @@ -279,6 +280,7 @@ static const struct pwm_ops twl6030_pwmled_ops = {
> .config = twl6030_pwmled_config,
> .request = twl6030_pwmled_request,
> .free = twl6030_pwmled_free,
> + .owner = THIS_MODULE,
> };
>
> static int twl_pwmled_probe(struct platform_device *pdev)
>
--
Péter
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 4/4] pwm: twl: Add .owner to struct pwm_ops
2013-03-31 3:17 ` [PATCH 4/4] pwm: twl: " Axel Lin
@ 2013-04-02 7:15 ` Peter Ujfalusi
0 siblings, 0 replies; 8+ messages in thread
From: Peter Ujfalusi @ 2013-04-02 7:15 UTC (permalink / raw)
To: Axel Lin; +Cc: Thierry Reding, linux-kernel
On 03/31/2013 05:17 AM, 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: Peter Ujfalusi <peter.ujfalusi@ti.com>
> ---
> drivers/pwm/pwm-twl.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/pwm/pwm-twl.c b/drivers/pwm/pwm-twl.c
> index bf3fda2..ee7fa5d 100644
> --- a/drivers/pwm/pwm-twl.c
> +++ b/drivers/pwm/pwm-twl.c
> @@ -287,12 +287,14 @@ static const struct pwm_ops twl4030_pwm_ops = {
> .disable = twl4030_pwm_disable,
> .request = twl4030_pwm_request,
> .free = twl4030_pwm_free,
> + .owner = THIS_MODULE,
> };
>
> static const struct pwm_ops twl6030_pwm_ops = {
> .config = twl_pwm_config,
> .enable = twl6030_pwm_enable,
> .disable = twl6030_pwm_disable,
> + .owner = THIS_MODULE,
> };
>
> static int twl_pwm_probe(struct platform_device *pdev)
>
--
Péter
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/4] pwm: ab8500: Add .owner to struct pwm_ops
2013-03-31 3:14 [PATCH 1/4] pwm: ab8500: Add .owner to struct pwm_ops Axel Lin
` (2 preceding siblings ...)
2013-03-31 3:17 ` [PATCH 4/4] pwm: twl: " Axel Lin
@ 2013-04-02 9:36 ` Thierry Reding
3 siblings, 0 replies; 8+ messages in thread
From: Thierry Reding @ 2013-04-02 9:36 UTC (permalink / raw)
To: Axel Lin; +Cc: Arun R Murthy, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
On Sun, Mar 31, 2013 at 11:14:02AM +0800, 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>
> ---
> drivers/pwm/pwm-ab8500.c | 1 +
> 1 file changed, 1 insertion(+)
All 4 patches applied, thanks.
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/4] pwm: atmel-tcb: Add .owner to struct pwm_ops
2013-03-31 3:15 ` [PATCH 2/4] pwm: atmel-tcb: " Axel Lin
@ 2013-04-02 16:25 ` Boris BREZILLON
0 siblings, 0 replies; 8+ messages in thread
From: Boris BREZILLON @ 2013-04-02 16:25 UTC (permalink / raw)
To: Axel Lin; +Cc: Thierry Reding, linux-kernel
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)
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-04-02 17:04 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox