mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
1965d30356
On OpenFirmware platforms, it makes the most sense to get platform_data from the device tree. Make an attempt to translate OF node properties into platform_data struct before bailing out. Note that the implementation approach taken differs from other device drivers that make use of device tree information. This is because I2C chips are already registered automatically by of_i2c, so we can get by with a small translator function in the driver. [akpm@linux-foundation.org: coding-style fixes] [akpm@linux-foundation.org: kfree(NULL) is legal] Signed-off-by: Nate Case <ncase@xes-inc.com> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
bt8xxgpio.c | ||
gpiolib.c | ||
Kconfig | ||
Makefile | ||
max732x.c | ||
max7301.c | ||
mcp23s08.c | ||
pca953x.c | ||
pcf857x.c | ||
twl4030-gpio.c | ||
xilinx_gpio.c |