History

staging: lirc: fixed coding style

fixed a few minor coding style issues reported by checkpatch.pl

Greg Dietsche committed 15 years ago

Commit d7136801 parent 3b70a262 files · +29 −28Browse files

Showing the changes to drivers/staging/lirc/lirc_sir.c (1 of 2 files). Show all

Unified · Split

drivers/staging/lirc/lirc_sir.c+15−15
@@ -143,9 +143,9 @@ static unsigned int duty_cycle = 50; /* duty cycle of 50% */ · 142 unmodified lines
143143 #endif
144144 #ifndef LIRC_PORT
145145 /* for external dongles, default to com1 */
146−#if defined(LIRC_SIR_ACTISYS_ACT200L) || \
147− defined(LIRC_SIR_ACTISYS_ACT220L) || \
148− defined(LIRC_SIR_TEKRAM)
146+#if defined(LIRC_SIR_ACTISYS_ACT200L) || \
147+ defined(LIRC_SIR_ACTISYS_ACT220L) || \
148+ defined(LIRC_SIR_TEKRAM)
149149 #define LIRC_PORT 0x3f8
150150 #else
151151 /* onboard sir ports are typically com3 */
@@ -467,7 +467,7 @@ static const struct file_operations lirc_fops = { · 315 unmodified lines
467467
468468 static int set_use_inc(void *data)
469469 {
470− return 0;
470+ return 0;
471471 }
472472
473473 static void set_use_dec(void *data)
@@ -475,17 +475,17 @@ static void set_use_dec(void *data) · 1 unmodified line
475475 }
476476
477477 static struct lirc_driver driver = {
478− .name = LIRC_DRIVER_NAME,
479− .minor = -1,
480− .code_length = 1,
481− .sample_rate = 0,
482− .data = NULL,
483− .add_to_buf = NULL,
484− .set_use_inc = set_use_inc,
485− .set_use_dec = set_use_dec,
486− .fops = &lirc_fops,
487− .dev = NULL,
488− .owner = THIS_MODULE,
478+ .name = LIRC_DRIVER_NAME,
479+ .minor = -1,
480+ .code_length = 1,
481+ .sample_rate = 0,
482+ .data = NULL,
483+ .add_to_buf = NULL,
484+ .set_use_inc = set_use_inc,
485+ .set_use_dec = set_use_dec,
486+ .fops = &lirc_fops,
487+ .dev = NULL,
488+ .owner = THIS_MODULE,
489489 };
490490
491491

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t