From: Michal Nazarewicz Date: Tue, 6 Nov 2012 21:52:40 +0000 (+0100) Subject: usb: gadget: Remove reference to is_dualspeed from sysfs. X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~82^2~59^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be44f1c80b998b00cfa1759f4ba88f6497810963;p=pandora-kernel.git usb: gadget: Remove reference to is_dualspeed from sysfs. This commit removes the /sys/devices/platform//udc//is_dualspeed file and is_dualspeeed line from /sys/devices/platform/ci13xxx_*/udc/device file. The is_dualspeed file is superseded by maximum_speed in the same directory and is_dualspeed line in device file is superseded by max_speed line in the same file. The maximum_speed/max_speed specifies maximum speed supported by UDC. To check if dualspeeed is supported, check if the value is >= 3. Signed-off-by: Michal Nazarewicz Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed