[ARM] 5336/1: Formatting/Whitespace cleanups in mach-sa1100
This patch fixes bad formatting found in mach-sa1100 files. What it does is to replace/delete things like excessive spaces (start || endline). The code looks the same just alot less junk. Signed-off-by: Kristoffer Ericson <Kristoffer.Ericson@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
799a0600ac
commit
93982535a2
@ -263,24 +263,24 @@ static int __init collie_pm_ucb_add(struct ucb1x00_dev *pdev)
|
||||
}
|
||||
|
||||
static struct ucb1x00_driver collie_pm_ucb_driver = {
|
||||
.add = collie_pm_ucb_add,
|
||||
.add = collie_pm_ucb_add,
|
||||
};
|
||||
|
||||
static struct platform_device *collie_pm_device;
|
||||
|
||||
static int __init collie_pm_init(void)
|
||||
{
|
||||
int ret;
|
||||
int ret;
|
||||
|
||||
collie_pm_device = platform_device_alloc("sharpsl-pm", -1);
|
||||
if (!collie_pm_device)
|
||||
return -ENOMEM;
|
||||
collie_pm_device = platform_device_alloc("sharpsl-pm", -1);
|
||||
if (!collie_pm_device)
|
||||
return -ENOMEM;
|
||||
|
||||
collie_pm_device->dev.platform_data = &collie_pm_machinfo;
|
||||
ret = platform_device_add(collie_pm_device);
|
||||
collie_pm_device->dev.platform_data = &collie_pm_machinfo;
|
||||
ret = platform_device_add(collie_pm_device);
|
||||
|
||||
if (ret)
|
||||
platform_device_put(collie_pm_device);
|
||||
if (ret)
|
||||
platform_device_put(collie_pm_device);
|
||||
|
||||
if (!ret)
|
||||
ret = ucb1x00_register_driver(&collie_pm_ucb_driver);
|
||||
@ -291,7 +291,7 @@ static int __init collie_pm_init(void)
|
||||
static void __exit collie_pm_exit(void)
|
||||
{
|
||||
ucb1x00_unregister_driver(&collie_pm_ucb_driver);
|
||||
platform_device_unregister(collie_pm_device);
|
||||
platform_device_unregister(collie_pm_device);
|
||||
}
|
||||
|
||||
module_init(collie_pm_init);
|
||||
|
Reference in New Issue
Block a user