summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io-module/mts-io.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/io-module/mts-io.c b/io-module/mts-io.c
index 64886a0..5ffbf0c 100644
--- a/io-module/mts-io.c
+++ b/io-module/mts-io.c
@@ -579,13 +579,10 @@ mts_id_eeprom_load(void)
/* Attempt to load the mts-io driver */
if((ret = request_firmware(&fw, "mts_eeprom.bin", &mts_io_platform_device->dev)) == 0) {
- if(fw->size == sizeof(id_eeprom))
- {
+ if(fw->size == sizeof(id_eeprom)) {
memcpy(&id_eeprom, fw->data, sizeof(id_eeprom));
log_info("Platform EEPROM contents loaded");
- }
- else
- {
+ } else {
log_error("Invalid platform EEPROM length (%d)", fw->size);
}