Yes. I scanned drivers/acpi for trailing whitespaces after I noticed a
couple of them. I did not explicitly scan for other stuff like spaces
where there should be tabs, mostly because I haven't found a quick and
reliable solution for that. I only noticed an inconsistent indentation
when committing, so I fixed that too.
You could try:
$ git ls-files -- 'drivers/acpi/*.[ch]' | \
xargs ./scripts/checkpatch.pl -f --fix-inplace --types=CODE_INDENT
Right now that produces:
---
diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c
index 46a64e9fa716..46be80976a03 100644
--- a/drivers/acpi/ac.c
+++ b/drivers/acpi/ac.c
@@ -89,7 +89,7 @@ struct acpi_ac {
#define to_acpi_ac(x) power_supply_get_drvdata(x)
/* --------------------------------------------------------------------------
- AC Adapter Management
+ AC Adapter Management
-------------------------------------------------------------------------- */