diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-21 16:58:00 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-21 16:58:00 -0700 |
commit | 027360c5644b59d99db30e3515a8ec72350207b9 (patch) | |
tree | 2d5f307fec534fc6e76135121e4c1f8f517d6922 /drivers/staging/line6/driver.h | |
parent | 79be7254ebd2fb6d5f91b4b8e5d12cfe4fd7ecd7 (diff) |
Staging: line6: minor coding style cleanups
This fixes up all of the remaining coding style issues that
make any sense to make in the line6 driver.
Cc: Markus Grabner <grabner@icg.tugraz.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/line6/driver.h')
-rw-r--r-- | drivers/staging/line6/driver.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/staging/line6/driver.h b/drivers/staging/line6/driver.h index 01fa27e7577..553192f4931 100644 --- a/drivers/staging/line6/driver.h +++ b/drivers/staging/line6/driver.h @@ -70,10 +70,12 @@ do { \ return err; \ } while (0) -#define CHECK_STARTUP_PROGRESS(x, n) \ - if((x) >= (n)) \ - return; \ - x = (n); +#define CHECK_STARTUP_PROGRESS(x, n) \ +do { \ + if ((x) >= (n)) \ + return; \ + x = (n); \ +} while (0) extern const unsigned char line6_midi_id[3]; extern struct usb_line6 *line6_devices[LINE6_MAX_DEVICES]; |