Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371001
b: refs/heads/master
c: e5a7074
h: refs/heads/master
i:
  370999: 9af71a4
v: v3
  • Loading branch information
Yijing Wang authored and Wolfram Sang committed Apr 9, 2013
1 parent c18af6c commit 0406b6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: 85747311ecb6167c989093c64a13807366fdd3a9
refs/heads/master: e5a7074a753623505ad20289abbea7a6c8c47bf7
5 changes: 0 additions & 5 deletions trunk/drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ static int i2c_device_match(struct device *dev, struct device_driver *drv)
return 0;
}

#ifdef CONFIG_HOTPLUG

/* uevent helps with hotplug: modprobe -q $(MODALIAS) */
static int i2c_device_uevent(struct device *dev, struct kobj_uevent_env *env)
Expand All @@ -107,10 +106,6 @@ static int i2c_device_uevent(struct device *dev, struct kobj_uevent_env *env)
return 0;
}

#else
#define i2c_device_uevent NULL
#endif /* CONFIG_HOTPLUG */

/* i2c bus recovery routines */
static int get_scl_gpio_value(struct i2c_adapter *adap)
{
Expand Down

0 comments on commit 0406b6c

Please sign in to comment.