public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] NFC: st21nfca: Remove double assignment of .owner in struct device_driver
@ 2014-06-02 14:21 Emil Goode
  2014-07-25  9:13 ` Christophe RICARD
  0 siblings, 1 reply; 2+ messages in thread
From: Emil Goode @ 2014-06-02 14:21 UTC (permalink / raw)
  To: Lauro Ramos Venancio, Aloisio Almeida Jr, Samuel Ortiz,
	Christophe Ricard
  Cc: linux-wireless, linux-nfc, linux-kernel, kernel-janitors,
	Emil Goode

The .owner member of struct device_driver is assigned THIS_MODULE twice.

Introduced by:

commit c44cb2edd01ca31471d9385f0895891b006ab904
("NFC: dts: st21nfca: Add device-tree (Open Firmware) support to st21nfca")

Signed-off-by: Emil Goode <emilgoode@gmail.com>
---
 drivers/nfc/st21nfca/i2c.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c
index 3f954ed..95942ca 100644
--- a/drivers/nfc/st21nfca/i2c.c
+++ b/drivers/nfc/st21nfca/i2c.c
@@ -710,7 +710,6 @@ static struct i2c_driver st21nfca_hci_i2c_driver = {
 	.driver = {
 		.owner = THIS_MODULE,
 		.name = ST21NFCA_HCI_I2C_DRIVER_NAME,
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(of_st21nfca_i2c_match),
 	},
 	.probe = st21nfca_hci_i2c_probe,
-- 
1.7.10.4


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

* Re: [PATCH] NFC: st21nfca: Remove double assignment of .owner in struct device_driver
  2014-06-02 14:21 [PATCH] NFC: st21nfca: Remove double assignment of .owner in struct device_driver Emil Goode
@ 2014-07-25  9:13 ` Christophe RICARD
  0 siblings, 0 replies; 2+ messages in thread
From: Christophe RICARD @ 2014-07-25  9:13 UTC (permalink / raw)
  To: Emil Goode
  Cc: Lauro Ramos Venancio, Aloisio Almeida Jr, Samuel Ortiz,
	linux-wireless, linux-nfc, linux-kernel, kernel-janitors

On Mon,  2 Jun 2014 16:21:00 +0200
Emil Goode <emilgoode@gmail.com> wrote:

> The .owner member of struct device_driver is assigned THIS_MODULE
> twice.
> 
> Introduced by:
> 
> commit c44cb2edd01ca31471d9385f0895891b006ab904
> ("NFC: dts: st21nfca: Add device-tree (Open Firmware) support to
> st21nfca")
> 
> Signed-off-by: Emil Goode <emilgoode@gmail.com>
> ---
>  drivers/nfc/st21nfca/i2c.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/nfc/st21nfca/i2c.c b/drivers/nfc/st21nfca/i2c.c
> index 3f954ed..95942ca 100644
> --- a/drivers/nfc/st21nfca/i2c.c
> +++ b/drivers/nfc/st21nfca/i2c.c
> @@ -710,7 +710,6 @@ static struct i2c_driver st21nfca_hci_i2c_driver
> = { .driver = {
>  		.owner = THIS_MODULE,
>  		.name = ST21NFCA_HCI_I2C_DRIVER_NAME,
> -		.owner = THIS_MODULE,
>  		.of_match_table > of_match_ptr(of_st21nfca_i2c_match), },
>  	.probe = st21nfca_hci_i2c_probe,

Acked-by: Christophe RICARD <christophe-h.ricard@st.com>

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

end of thread, other threads:[~2014-07-25  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-02 14:21 [PATCH] NFC: st21nfca: Remove double assignment of .owner in struct device_driver Emil Goode
2014-07-25  9:13 ` Christophe RICARD

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