]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
power_supply: bq2415x_charger: Fix coding style issues
authorAnda-Maria Nicolae <anda-maria.nicolae@intel.com>
Tue, 12 May 2015 09:11:32 +0000 (12:11 +0300)
committerSebastian Reichel <sre@kernel.org>
Sat, 23 May 2015 18:02:59 +0000 (20:02 +0200)
commitf6d8b7744f692def009b9b354a39daf503bc9e00
treec52650d9692e220c0405803fdaa8d4e0973e69da
parent323667209223368b50e16994e0fa8cf833940ce6
power_supply: bq2415x_charger: Fix coding style issues

This patch fixes the following issues reported by checkpatch.pl:
- use -EINVAL instead of -ENOSYS, to fix warning message:
  "ENOSYS means 'invalid syscall nr' and nothing else"
- remove unnecessary log message
- split lines whose length is greater than 80 characters
- if an arm statement uses braces, add braces to the other arms of the
  respective statement, too
- match alignment with open parenthesis

Signed-off-by: Anda-Maria Nicolae <anda-maria.nicolae@intel.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/bq2415x_charger.c