[PATCH linux 0/2] I2c : do not rename added devices, and a minor dtsi fix

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Feb 11 12:30:26 AEDT 2016


The documentation says you can't rename devices once they are added.

The commit log is a bit wide because I didn't wrap the cut & pasted comments from the code.

The code is a bit ugly looking for properties in the child to determine the name.

But there are rules!

Comments and alternatives welcome.

Also is a separate patch for the dtsi which I noticed while looking at the tree structure.

milton


https://github.com/openbmc/linux/pull/49

Milton D. Miller II (2):
  i2c: aspeed: Don't rename added devices
  arm: dts: unit address should not have 0x prefix

 arch/arm/boot/dts/ast2400.dtsi  |  2 +-
 drivers/i2c/busses/i2c-aspeed.c | 28 ++++++++++++++++++++--------
 2 files changed, 21 insertions(+), 9 deletions(-)

-- 
2.7.1




More information about the openbmc mailing list