mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
regmap: Remove unused type and list fields from bus interface
We no longer enumerate the bus types, we rely on the driver telling us this on init. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
cb3c2dcfa3
commit
790923e56b
3 changed files with 0 additions and 6 deletions
|
@ -60,8 +60,6 @@ typedef int (*regmap_hw_read)(struct device *dev,
|
|||
/**
|
||||
* Description of a hardware bus for the register map infrastructure.
|
||||
*
|
||||
* @list: Internal use.
|
||||
* @type: Bus type, used to identify bus to be used for a device.
|
||||
* @write: Write operation.
|
||||
* @gather_write: Write operation with split register/value, return -ENOTSUPP
|
||||
* if not implemented on a given device.
|
||||
|
@ -73,8 +71,6 @@ typedef int (*regmap_hw_read)(struct device *dev,
|
|||
* a read.
|
||||
*/
|
||||
struct regmap_bus {
|
||||
struct list_head list;
|
||||
struct bus_type *type;
|
||||
regmap_hw_write write;
|
||||
regmap_hw_gather_write gather_write;
|
||||
regmap_hw_read read;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue