From: Michal Nazarewicz Date: Mon, 10 Feb 2014 09:42:41 +0000 (+0100) Subject: usb: gadget: functionfs: replace FFS_SETUP_STATUS with an inline function X-Git-Tag: v3.15-rc1~137^2~25^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7ecf0544f0fc710ba6e2ff751d328a4190c4a1f;p=pandora-kernel.git usb: gadget: functionfs: replace FFS_SETUP_STATUS with an inline function The FFS_SETUP_STATUS macro could be trivialy replaced with an static inline function but more importantly its name was tad confusing. The name suggested it was a simple accessor macro but it actually did change the state of the ffs_data structure perfomring a FFS_SETUP_CANCELLED -> FFS_NO_SETUP transition. The name of the function -- ffs_setup_state_clear_cancelled -- should better describe what the function actually does. Signed-off-by: Michal Nazarewicz Signed-off-by: Robert Baldyga Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed