From: Greg Kroah-Hartman Date: Wed, 4 Jan 2012 23:05:10 +0000 (-0800) Subject: driver core: remove __must_check from device_create_file X-Git-Tag: v3.3-rc1~174^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9d4e714a86a4e88c2f530c76597f7025e5851d6;p=pandora-kernel.git driver core: remove __must_check from device_create_file With the conversion of the sysdev to a real struct device, more drivers are calling device_create_file, and some of them don't check the return value, which isn't wise. But as they happen to be in parts of the kernel where a warning is considered an error (i.e. powerpc), this breaks the build. So for now, remove the marking on the function, which fixes the build problems. Reported-by: Stephen Rothwell Cc: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed