Re: [Linux-kernel] [PATCH] i2c: mux: demux-pinctrl: Fix reading the "master" attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2016-03-30 at 17:42 +0100, Ben Dooks wrote:
> On 30/03/16 17:27, Ben Hutchings wrote:
> > sysfs attributes should use the same format for reads and writes,
> > rather than pretty-printing on read.
> > 
> > Fixes: 50a5ba876908 ("i2c: mux: demux-pinctrl: add driver")
> > Signed-off-by: Ben Hutchings <ben.hutchings@xxxxxxxxxxxxxxx>
> 
> should that be moved to a debugfs entry or a read-only sysfs?

Probably another read-only attribute (like "scaling_governor" vs
"scaling_available_governors" in cpufreq).

Ben.

-- 
Ben Hutchings
Software Developer, Codethink Ltd.


--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux