staging: slicoss: fail on corrupt eeprom
authorDavid Matlack <matlackdavid@gmail.com>
Tue, 20 May 2014 05:04:00 +0000 (22:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 11:13:13 +0000 (20:13 +0900)
commit28277a55fd8e9d0c53647734d824a6bf7ba92e04
tree42f67e673cba4b50eaf15209b70c273281f9775e
parent55b62cdfe9089cdaaeac52404d916cbffcfb0ab3
staging: slicoss: fail on corrupt eeprom

Remove fail_on_bad_eeprom, which was always 0 and thus being used
to ignore incorrect checksumming. This means devices with corrupt
eeprom will now cause the driver to fail.

Since fail_on_bad_eeprom was the last member in use of struct
slic_reg_params, remove that struct altogether.

Signed-off-by: David Matlack <matlackdavid@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slic.h
drivers/staging/slicoss/slicoss.c