From: Jaya Kumar Date: Tue, 18 Nov 2008 01:32:36 +0000 (+0100) Subject: [ARM] 5335/1: pxa25x_udc: Fix is_vbus_present to return 1 or 0 X-Git-Tag: v2.6.28-rc7~38^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47fd6f7c94e15eb5f97dd1cbb0427a46b03c8185;p=pandora-kernel.git [ARM] 5335/1: pxa25x_udc: Fix is_vbus_present to return 1 or 0 the use of is_blah() suggests a 1 or 0 return. This assumption is made in pxa25x_udc code such as: dev->vbus = is_vbus_present(); where dev->vbus is a bitfield. This fix allows pxa25x_udc_probe to correctly detect vbus. Other changes were to make its use consistent in the rest of the code. Signed-off-by: Jaya Kumar Signed-off-by: Russell King --- Reading git-diff-tree failed