Fixed the format error for unnecessary spaces or required spaces.
Subsystems (2)
PATCH 1/1 Fixed the format error for unnecessary spaces or required spaces.
From: Wanlong Gao <[email protected]>
Better has no spaces at the start of a line
FILE: ab3100-core.c:372
Better has no space before tabs
FILE: adp5520.c:361
Space required after that ','
FILE: dm355evm_msp.c:97
Signed-off-by Wanlong Gao <[email protected]>
--- drivers/mfd/ab3100-core.c | 2 +- drivers/mfd/adp5520.c | 2 +- drivers/mfd/dm355evm_msp.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/mfd/ab3100-core.c +1 -1
@@ -369,7 +369,7 @@ EXPORT_SYMBOL(ab3100_event_register);int ab3100_event_unregister (struct ab3100 *ab3100,struct notifier_block *nb) { -return blocking_notifier_chain_unregister (&ab3100->event_subscribers, +return blocking_notifier_chain_unregister (&ab3100->event_subscribers, nb); }EXPORT_SYMBOL (ab3100_event_unregister);
drivers/mfd/adp5520.c +1 -1
@@ -358,7 +358,7 @@ static struct i2c_driver adp5520_driver = { .remove = __devexit_p(adp5520_remove), .suspend = adp5520_suspend, .resume = adp5520_resume, - .id_table = adp5520_id, + .id_table = adp5520_id, };static int __init adp5520_init (void )
drivers/mfd/dm355evm_msp.c +1 -1
@@ -94,7 +94,7 @@ EXPORT_SYMBOL(dm355evm_msp_read);* Many of the msp430 pins are just used as fixed-direction GPIOs. * We could export a few more of them this way, if we wanted. */ -#define MSP_GPIO (bit,reg) ((DM355EVM_MSP_ ## reg) << 3 | (bit)) +#define MSP_GPIO (bit, reg) ((DM355EVM_MSP_ ## reg) << 3 | (bit))static const u8 msp_gpios[] = {/* eight leds */
Signature · 1 line
1.7.3
Quoted 5 lines · On Sun, Mar 27, 2011 at 10:45:20AM +0800, [email protected] wrote:
From: Wanlong Gao <[email protected]>
Better has no spaces at the start of a line
FILE: ab3100-core.c:372
Quoted 7 lines
Better has no space before tabs
FILE: adp5520.c:361Space required after that ','
FILE: dm355evm_msp.c:97Signed-off-by Wanlong Gao <[email protected]>
Acked-by Harry Wei <[email protected]>
Quoted 53 lines
--- drivers/mfd/ab3100-core.c | 2 +- drivers/mfd/adp5520.c | 2 +- drivers/mfd/dm355evm_msp.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)drivers/mfd/ab3100-core.c +1
-1@@ -369,7 +369,7 @@ EXPORT_SYMBOL(ab3100_event_register);int ab3100_event_unregister (struct ab3100 *ab3100,struct notifier_block *nb) { -return blocking_notifier_chain_unregister (&ab3100->event_subscribers, +return blocking_notifier_chain_unregister (&ab3100->event_subscribers, nb); }EXPORT_SYMBOL (ab3100_event_unregister);drivers/mfd/adp5520.c +1
-1@@ -358,7 +358,7 @@ static struct i2c_driver adp5520_driver = { .remove = __devexit_p(adp5520_remove), .suspend = adp5520_suspend, .resume = adp5520_resume, - .id_table = adp5520_id, + .id_table = adp5520_id, };static int __init adp5520_init (void )drivers/mfd/dm355evm_msp.c +1
-1@@ -94,7 +94,7 @@ EXPORT_SYMBOL(dm355evm_msp_read);* Many of the msp430 pins are just used as fixed-direction GPIOs. * We could export a few more of them this way, if we wanted. */ -#define MSP_GPIO (bit,reg) ((DM355EVM_MSP_ ## reg) << 3 | (bit)) +#define MSP_GPIO (bit, reg) ((DM355EVM_MSP_ ## reg) << 3 | (bit))static const u8 msp_gpios[] = {/* eight leds */ Signature · 7 lines
1.7.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/