mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
gpio_mem: Remove unnecessary dev_info output (#1830)
The open function was spamming syslog every time called, so have removed call completely.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user