Skip to content

Commit 4c19851

Browse files
iccowanrafaeljw
authored andcommitted
ACPI: clean up white space in a few places for consistency
This cleans up a few line spaces so that it is consistent with the rest of the file. There are a few places where a space was added before a return and two spots where a double line space was made into one line space. Signed-off-by: Ian Cowan <[email protected]> [ rjw: Subject adjustment ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent c5eb0a6 commit 4c19851

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/acpi/ac.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ MODULE_AUTHOR("Paul Diefenbaugh");
3232
MODULE_DESCRIPTION("ACPI AC Adapter Driver");
3333
MODULE_LICENSE("GPL");
3434

35-
3635
static int acpi_ac_add(struct acpi_device *device);
3736
static int acpi_ac_remove(struct acpi_device *device);
3837
static void acpi_ac_notify(struct acpi_device *device, u32 event);
@@ -125,6 +124,7 @@ static int get_ac_property(struct power_supply *psy,
125124
default:
126125
return -EINVAL;
127126
}
127+
128128
return 0;
129129
}
130130

@@ -286,6 +286,7 @@ static int acpi_ac_resume(struct device *dev)
286286
return 0;
287287
if (old_state != ac->state)
288288
kobject_uevent(&ac->charger->dev.kobj, KOBJ_CHANGE);
289+
289290
return 0;
290291
}
291292
#else
@@ -296,7 +297,6 @@ static int acpi_ac_remove(struct acpi_device *device)
296297
{
297298
struct acpi_ac *ac = NULL;
298299

299-
300300
if (!device || !acpi_driver_data(device))
301301
return -EINVAL;
302302

0 commit comments

Comments
 (0)