diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-18 18:50:07 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-18 18:50:07 -0500 |
| commit | 13509c3a9d20a9df93dc9b944e8bd20fe1b454a7 (patch) | |
| tree | d7a97d1d10e88bcb93852cb0143a000710e9e246 /include/linux | |
| parent | 1ea406c0e08c717241275064046d29b5bac1b1db (diff) | |
| parent | cfff1f4a9367bfe0d88413e8807f8369e9564729 (diff) | |
Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c changes from Wolfram Sang:
- new drivers for exynos5, bcm kona, and st micro
- bigger overhauls for drivers mxs and rcar
- typical driver bugfixes, cleanups, improvements
- got rid of the superfluous 'driver' member in i2c_client struct This
touches a few drivers in other subsystems. All acked.
* 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (38 commits)
i2c: bcm-kona: fix error return code in bcm_kona_i2c_probe()
i2c: i2c-eg20t: do not print error message in syslog if no ACK received
i2c: bcm-kona: Introduce Broadcom I2C Driver
i2c: cbus-gpio: Fix device tree binding
i2c: wmt: add missing clk_disable_unprepare() on error
i2c: designware: add new ACPI IDs
i2c: i801: Add Device IDs for Intel Wildcat Point-LP PCH
i2c: exynos5: Remove incorrect clk_disable_unprepare
i2c: i2c-st: Add ST I2C controller
i2c: exynos5: add High Speed I2C controller driver
i2c: rcar: fixup rcar type naming
i2c: scmi: remove some bogus NULL checks
i2c: sh_mobile & rcar: Enable the driver on all ARM platforms
i2c: sh_mobile: Convert to clk_prepare/unprepare
i2c: mux: gpio: use reg value for i2c_add_mux_adapter
i2c: mux: gpio: use gpio_set_value_cansleep()
i2c: Include linux/of.h header
i2c: mxs: Fix PIO mode on i.MX23
i2c: mxs: Rework the PIO mode operation
i2c: mxs: distinguish i.MX23 and i.MX28 based I2C controller
...
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/i2c.h | 2 | ||||
| -rw-r--r-- | include/linux/platform_data/at24.h (renamed from include/linux/i2c/at24.h) | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 2ab11dc38077..eff50e062be8 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
| @@ -205,7 +205,6 @@ struct i2c_driver { | |||
| 205 | * @name: Indicates the type of the device, usually a chip name that's | 205 | * @name: Indicates the type of the device, usually a chip name that's |
| 206 | * generic enough to hide second-sourcing and compatible revisions. | 206 | * generic enough to hide second-sourcing and compatible revisions. |
| 207 | * @adapter: manages the bus segment hosting this I2C device | 207 | * @adapter: manages the bus segment hosting this I2C device |
| 208 | * @driver: device's driver, hence pointer to access routines | ||
| 209 | * @dev: Driver model device node for the slave. | 208 | * @dev: Driver model device node for the slave. |
| 210 | * @irq: indicates the IRQ generated by this device (if any) | 209 | * @irq: indicates the IRQ generated by this device (if any) |
| 211 | * @detected: member of an i2c_driver.clients list or i2c-core's | 210 | * @detected: member of an i2c_driver.clients list or i2c-core's |
| @@ -222,7 +221,6 @@ struct i2c_client { | |||
| 222 | /* _LOWER_ 7 bits */ | 221 | /* _LOWER_ 7 bits */ |
| 223 | char name[I2C_NAME_SIZE]; | 222 | char name[I2C_NAME_SIZE]; |
| 224 | struct i2c_adapter *adapter; /* the adapter we sit on */ | 223 | struct i2c_adapter *adapter; /* the adapter we sit on */ |
| 225 | struct i2c_driver *driver; /* and our access routines */ | ||
| 226 | struct device dev; /* the device structure */ | 224 | struct device dev; /* the device structure */ |
| 227 | int irq; /* irq issued by device */ | 225 | int irq; /* irq issued by device */ |
| 228 | struct list_head detected; | 226 | struct list_head detected; |
diff --git a/include/linux/i2c/at24.h b/include/linux/platform_data/at24.h index 285025a9cdc9..c42aa89d34ee 100644 --- a/include/linux/i2c/at24.h +++ b/include/linux/platform_data/at24.h | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | * | 28 | * |
| 29 | * void get_mac_addr(struct memory_accessor *mem_acc, void *context) | 29 | * void get_mac_addr(struct memory_accessor *mem_acc, void *context) |
| 30 | * { | 30 | * { |
| 31 | * u8 *mac_addr = ethernet_pdata->mac_addr; | 31 | * u8 *mac_addr = ethernet_pdata->mac_addr; |
| 32 | * off_t offset = context; | 32 | * off_t offset = context; |
| 33 | * | 33 | * |
| 34 | * // Read MAC addr from EEPROM | 34 | * // Read MAC addr from EEPROM |
