[POWERPC] therm_windtunnel: Eliminate some build warnings
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 Jan 2008 04:15:28 +0000 (15:15 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 17 Jan 2008 03:57:27 +0000 (14:57 +1100)
commit98894dffaf11981ac9dc33c818ecafcb02a5439b
treea3da023e1825afda8f4a5a7c5a3d03096df9190d
parent85e99b9fffb62e101e38c74c935256fc589703c2
[POWERPC] therm_windtunnel: Eliminate some build warnings

We don't care if the device_create_file calls fail, the driver will work
just as well without them, so just issue a runtime warning.

drivers/macintosh/therm_windtunnel.c: In function 'setup_hardware':
drivers/macintosh/therm_windtunnel.c:268: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result
drivers/macintosh/therm_windtunnel.c:269: warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/therm_windtunnel.c