summaryrefslogtreecommitdiff
path: root/io-module/mts-io.c
diff options
context:
space:
mode:
authorMike Nicholson <mike.nicholson@multitech.com>2018-12-12 16:48:48 -0600
committerMike Nicholson <mike.nicholson@multitech.com>2018-12-12 16:48:48 -0600
commitf7bb25e391ea43e0afeaad50cd14dcaf522f3810 (patch)
tree8c7862e430a377381ef7391c8c48dd4e55ca34dc /io-module/mts-io.c
parent3ac592211f34365e1788ff2ec01cdbc03e48b660 (diff)
downloadmts-io-f7bb25e391ea43e0afeaad50cd14dcaf522f3810.tar.gz
mts-io-f7bb25e391ea43e0afeaad50cd14dcaf522f3810.tar.bz2
mts-io-f7bb25e391ea43e0afeaad50cd14dcaf522f3810.zip
Get rid of Allman style braces to match file
Diffstat (limited to 'io-module/mts-io.c')
-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);
}