diff options
author | Greg Kroah-Hartman | 2010-09-22 01:58:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-09-22 01:58:00 +0200 |
commit | 027360c5644b59d99db30e3515a8ec72350207b9 (patch) | |
tree | 2d5f307fec534fc6e76135121e4c1f8f517d6922 /drivers/staging/line6/driver.h | |
parent | staging: line6: remove unneeded EXPORT_SYMBOL() usage (diff) | |
download | kernel-qcow2-linux-027360c5644b59d99db30e3515a8ec72350207b9.tar.gz kernel-qcow2-linux-027360c5644b59d99db30e3515a8ec72350207b9.tar.xz kernel-qcow2-linux-027360c5644b59d99db30e3515a8ec72350207b9.zip |
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 01fa27e75774..553192f49317 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]; |