[170/251] hwmon: (adt7470) Fix incorrect return code check

2013-09-10 Thread Steven Rostedt
3.6.11.9-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Curt Brune [ Upstream commit 93d783bcca69bfacc8dc739d8a050498402587b5 ] In adt7470_write_word_data(), which writes two bytes using i2c_smbus_write_byte_data(), the return codes are

[170/251] hwmon: (adt7470) Fix incorrect return code check

2013-09-10 Thread Steven Rostedt
3.6.11.9-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Curt Brune c...@cumulusnetworks.com [ Upstream commit 93d783bcca69bfacc8dc739d8a050498402587b5 ] In adt7470_write_word_data(), which writes two bytes using i2c_smbus_write_byte_data(),