aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/nvec/nvec_power.c
diff options
context:
space:
mode:
authorPawel Lebioda <pawel.lebioda89@gmail.com>2014-07-03 21:15:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-09 12:14:06 -0700
commitfa7996178650377994b1e42ea6c00df304d48065 (patch)
tree0cf8efaacce85dc8192c7b0682a468b2a9f8e52b /drivers/staging/nvec/nvec_power.c
parentstaging: dgnc: remove redundant memset call (diff)
downloadlinux-dev-fa7996178650377994b1e42ea6c00df304d48065.tar.xz
linux-dev-fa7996178650377994b1e42ea6c00df304d48065.zip
staging: nvec: insert blank lines after declarations
This patch fixes coding style warnings reported by checkpatch.pl: "Missing a blank line after declarations". Signed-off-by: Pawel Lebioda <pawel.lebioda89@gmail.com> Acked-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/nvec/nvec_power.c')
-rw-r--r--drivers/staging/nvec/nvec_power.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/nvec/nvec_power.c b/drivers/staging/nvec/nvec_power.c
index aacfcd6954a3..6446e151866f 100644
--- a/drivers/staging/nvec/nvec_power.c
+++ b/drivers/staging/nvec/nvec_power.c
@@ -226,6 +226,7 @@ static int nvec_power_get_property(struct power_supply *psy,
union power_supply_propval *val)
{
struct nvec_power *power = dev_get_drvdata(psy->dev->parent);
+
switch (psp) {
case POWER_SUPPLY_PROP_ONLINE:
val->intval = power->on;