git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'stable/bug.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...
[pandora-kernel.git]
/
drivers
/
leds
/
leds-lp5521.c
diff --git
a/drivers/leds/leds-lp5521.c
b/drivers/leds/leds-lp5521.c
index
c0cff64
..
cc1dc48
100644
(file)
--- a/
drivers/leds/leds-lp5521.c
+++ b/
drivers/leds/leds-lp5521.c
@@
-593,7
+593,7
@@
static void lp5521_unregister_sysfs(struct i2c_client *client)
&lp5521_led_attribute_group);
}
&lp5521_led_attribute_group);
}
-static int __init lp5521_init_led(struct lp5521_led *led,
+static int __
dev
init lp5521_init_led(struct lp5521_led *led,
struct i2c_client *client,
int chan, struct lp5521_platform_data *pdata)
{
struct i2c_client *client,
int chan, struct lp5521_platform_data *pdata)
{
@@
-637,7
+637,7
@@
static int __init lp5521_init_led(struct lp5521_led *led,
return 0;
}
return 0;
}
-static int lp5521_probe(struct i2c_client *client,
+static int
__devinit
lp5521_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
struct lp5521_chip *chip;
const struct i2c_device_id *id)
{
struct lp5521_chip *chip;