Skip to content

Commit

Permalink
gpio_mem: Remove unnecessary dev_info output (#1830)
Browse files Browse the repository at this point in the history
The open function was spamming syslog every time
called, so have removed call completely.
  • Loading branch information
JamesH65 authored and popcornmix committed Oct 29, 2017
1 parent 1bab7a8 commit a63eb44
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/char/broadcom/bcm2835-gpiomem.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ static int bcm2835_gpiomem_open(struct inode *inode, struct file *file)
int dev = iminor(inode);
int ret = 0;

dev_info(inst->dev, "gpiomem device opened.");

if (dev != DEVICE_MINOR) {
dev_err(inst->dev, "Unknown minor device: %d", dev);
ret = -ENXIO;
Expand Down

0 comments on commit a63eb44

Please sign in to comment.