Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1274829
| From | Egor Uleyskiy <egor.ulieiskii@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/6] drivers: staging: vme: Deleted extra empty lines |
| Date | 2015-11-22 10:30 +0100 |
| Message-ID | <qxz85-1Ly-11@gated-at.bofh.it> (permalink) |
| References | <qxz85-1Ly-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Egor Uleyskiy <egor.ulieiskii@gmail.com>
Signed-off-by: Egor Uleyskiy <egor.ulieiskii@gmail.com>
---
drivers/staging/vme/devices/vme_pio2_gpio.c | 2 --
drivers/staging/vme/devices/vme_user.h | 2 --
2 files changed, 4 deletions(-)
diff --git a/drivers/staging/vme/devices/vme_pio2_gpio.c b/drivers/staging/vme/devices/vme_pio2_gpio.c
index 0b72dac..e09f6bb 100644
--- a/drivers/staging/vme/devices/vme_pio2_gpio.c
+++ b/drivers/staging/vme/devices/vme_pio2_gpio.c
@@ -38,7 +38,6 @@ static int pio2_gpio_get(struct gpio_chip *chip, unsigned int offset)
if ((card->bank[PIO2_CHANNEL_BANK[offset]].config == OUTPUT) |
(card->bank[PIO2_CHANNEL_BANK[offset]].config == NOFIT)) {
-
dev_err(&card->vdev->dev, "Channel not available as input\n");
return 0;
}
@@ -76,7 +75,6 @@ static void pio2_gpio_set(struct gpio_chip *chip,
if ((card->bank[PIO2_CHANNEL_BANK[offset]].config == INPUT) |
(card->bank[PIO2_CHANNEL_BANK[offset]].config == NOFIT)) {
-
dev_err(&card->vdev->dev, "Channel not available as output\n");
return;
}
diff --git a/drivers/staging/vme/devices/vme_user.h b/drivers/staging/vme/devices/vme_user.h
index b8cc7bc..a6cb756 100644
--- a/drivers/staging/vme/devices/vme_user.h
+++ b/drivers/staging/vme/devices/vme_user.h
@@ -20,7 +20,6 @@ struct vme_master {
#endif
} __packed;
-
/*
* IOCTL Commands and structures
*/
@@ -28,7 +27,6 @@ struct vme_master {
/* Magic number for use in ioctls */
#define VME_IOC_MAGIC 0xAE
-
/* VMEbus Slave Window Configuration Structure */
struct vme_slave {
__u32 enable; /* State of Window */
--
2.5.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/6] drivers: staging: vme: Fixed indention Egor Uleyskiy <egor.ulieiskii@gmail.com> - 2015-11-22 10:30 +0100 [PATCH 2/6] drivers: staging: vme: Deleted extra empty lines Egor Uleyskiy <egor.ulieiskii@gmail.com> - 2015-11-22 10:30 +0100 [PATCH 5/6] drivers: staging: vme: Fixed checking NULL and 0 code style Egor Uleyskiy <egor.ulieiskii@gmail.com> - 2015-11-22 10:30 +0100 [PATCH 4/6] drivers: staging: vme: Deleted extra bracking Egor Uleyskiy <egor.ulieiskii@gmail.com> - 2015-11-22 10:30 +0100
csiph-web