]> git.hungrycats.org Git - linux/commit
[PATCH] I2C: sensors/w83781d.c creates useless sysfs entries
authorLuca Tettamanti <kronos@kronoz.cjb.net>
Mon, 13 Oct 2003 05:31:27 +0000 (22:31 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 13 Oct 2003 05:31:27 +0000 (22:31 -0700)
commitc26487769f6198657c88178b4613fc2562868be4
treee463688055fd53f8dab57fdb000160e2f80145b7
parentc673caf6ccb9982301bff92b7d61363e8774c1b5
[PATCH] I2C: sensors/w83781d.c creates useless sysfs entries

Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz> ha scritto:
> here is a trivial fix for Winbond sensor driver, which currently creates
> useless entries in sys/bus/i2c due to missing braces after if statements
> - author probably forgot about the macro expansion.

IMHO it's better to fix the macro:
drivers/i2c/chips/w83781d.c