From: Bill Richardson Date: Wed, 18 Jun 2014 18:14:03 +0000 (-0700) Subject: mfd: cros_ec: cleanup: remove unused fields from struct cros_ec_device X-Git-Tag: omap-for-v3.17/fixes-against-rc2~129^2~65 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=533cec8f34778de10412dfabac991cf458ebf3c9;p=pandora-kernel.git mfd: cros_ec: cleanup: remove unused fields from struct cros_ec_device struct cros_ec_device has a superfluous "name" field. We can get all the debugging info we need from the existing ec_name and phys_name fields, so let's take out the extra field. The printout also has sufficient info in it without explicitly adding the transport. Before this change: cros-ec-spi spi2.0: Chrome EC (SPI) After this change: cros-ec-spi spi2.0: Chrome EC device registered Signed-off-by: Bill Richardson Signed-off-by: Doug Anderson Reviewed-by: Simon Glass Signed-off-by: Lee Jones --- Reading git-diff-tree failed