Add "no BKL needed" comments to several drivers
This documents the fact that somebody looked at the relevant open() functions and concluded that, due to their trivial nature, no locking was needed. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
@@ -153,6 +153,8 @@ static ssize_t cs5535_gpio_read(struct file *file, char __user *buf,
|
||||
return count;
|
||||
}
|
||||
|
||||
/* No BKL needed here - "mask" is the only global resource used
|
||||
here and it's a boot-time parameter */
|
||||
static int cs5535_gpio_open(struct inode *inode, struct file *file)
|
||||
{
|
||||
u32 m = iminor(inode);
|
||||
|
Reference in New Issue
Block a user