[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100311182158.13103.93206.stgit@angua>
Date: Thu, 11 Mar 2010 11:21:59 -0700
From: Grant Likely <grant.likely@...retlab.ca>
To: monstr@...str.eu, gregkh@...e.de, benh@...nel.crashing.org,
akpm@...ux-foundation.org, davem@...emloft.net,
sfr@...b.auug.org.au, jgarzik@...ox.com, ben-linux@...ff.org,
dwmw2@...radead.org, jeremy.kerr@...onical.com,
James.Bottomley@...e.de, broonie@...nsource.wolfsonmicro.com,
microblaze-uclinux@...e.uq.edu.au, linux-kernel@...r.kernel.org,
linuxppc-dev@...abs.org, sparclinux@...r.kernel.org,
linux-ide@...r.kernel.org, netdev@...r.kernel.org,
linux-i2c@...r.kernel.org, devicetree-discuss@...ts.ozlabs.org,
linux-scsi@...r.kernel.org, alsa-devel@...a-project.org
Subject: [PATCH 02/27] drivers/gpio/of: don't use deprecated fields in
of_platform_driver
.name, .match_table and .owner are duplicated in both of_platform_driver
and device_driver, so the of_platform_driver copies will be removed soon.
Signed-off-by: Grant Likely <grant.likely@...retlab.ca>
---
drivers/leds/leds-gpio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c
index 7ff758a..0e6e9ac 100644
--- a/drivers/leds/leds-gpio.c
+++ b/drivers/leds/leds-gpio.c
@@ -291,8 +291,8 @@ static struct of_platform_driver of_gpio_leds_driver = {
.driver = {
.name = "of_gpio_leds",
.owner = THIS_MODULE,
+ .of_match_table = of_gpio_leds_match,
},
- .match_table = of_gpio_leds_match,
.probe = of_gpio_leds_probe,
.remove = __devexit_p(of_gpio_leds_remove),
};
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists