Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373661
b: refs/heads/master
c: fbd9df2
h: refs/heads/master
i:
  373659: e99cdf3
v: v3
  • Loading branch information
Sachin Kamat authored and Bryan Wu committed Apr 1, 2013
1 parent e3d555e commit 9702571
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d67eb8e66c53dd2d26d294b49969f0c3101a5368
refs/heads/master: fbd9df28faeda17b1a9d3e9ab976e969be98d379
4 changes: 2 additions & 2 deletions trunk/drivers/leds/leds-tca6507.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
#include <linux/gpio.h>
#include <linux/workqueue.h>
#include <linux/leds-tca6507.h>
#include <linux/of.h>

/* LED select registers determine the source that drives LED outputs */
#define TCA6507_LS_LED_OFF 0x0 /* Output HI-Z (off) */
Expand Down Expand Up @@ -724,7 +725,6 @@ tca6507_led_dt_init(struct i2c_client *client)
return ERR_PTR(-ENODEV);
}

#define of_tca6507_leds_match NULL
#endif

static int tca6507_probe(struct i2c_client *client,
Expand Down Expand Up @@ -813,7 +813,7 @@ static struct i2c_driver tca6507_driver = {
.driver = {
.name = "leds-tca6507",
.owner = THIS_MODULE,
.of_match_table = of_tca6507_leds_match,
.of_match_table = of_match_ptr(of_tca6507_leds_match),
},
.probe = tca6507_probe,
.remove = tca6507_remove,
Expand Down

0 comments on commit 9702571

Please sign in to comment.