sysfs attributes should use the same format for reads and writes,
rather than pretty-printing on read.
* Make the "cur_master" attribute read back as just the name of the
master
* Expose the list of all masters as a read-only "available_masters"
attribute, using space separators as in similar attributes of other
devices
Also, spell out "cur_master" in full as "current_master".
Fixes:
|
||
|---|---|---|
| .. | ||
| i2c-arb-gpio-challenge.c | ||
| i2c-demux-pinctrl.c | ||
| i2c-mux-gpio.c | ||
| i2c-mux-pca954x.c | ||
| i2c-mux-pca9541.c | ||
| i2c-mux-pinctrl.c | ||
| i2c-mux-reg.c | ||
| Kconfig | ||
| Makefile | ||