hwrng: core - do not use multiple blank lines
This patch fix the checkpatch warning "Please don't use multiple blank lines" Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:

committed by
Herbert Xu

parent
50fb570424
commit
6bc17d90e6
@@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <linux/device.h>
|
#include <linux/device.h>
|
||||||
#include <linux/hw_random.h>
|
#include <linux/hw_random.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
@@ -45,12 +44,10 @@
|
|||||||
#include <linux/err.h>
|
#include <linux/err.h>
|
||||||
#include <linux/uaccess.h>
|
#include <linux/uaccess.h>
|
||||||
|
|
||||||
|
|
||||||
#define RNG_MODULE_NAME "hw_random"
|
#define RNG_MODULE_NAME "hw_random"
|
||||||
#define PFX RNG_MODULE_NAME ": "
|
#define PFX RNG_MODULE_NAME ": "
|
||||||
#define RNG_MISCDEV_MINOR 183 /* official */
|
#define RNG_MISCDEV_MINOR 183 /* official */
|
||||||
|
|
||||||
|
|
||||||
static struct hwrng *current_rng;
|
static struct hwrng *current_rng;
|
||||||
static struct task_struct *hwrng_fill;
|
static struct task_struct *hwrng_fill;
|
||||||
static LIST_HEAD(rng_list);
|
static LIST_HEAD(rng_list);
|
||||||
@@ -298,7 +295,6 @@ out_put:
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static const struct file_operations rng_chrdev_ops = {
|
static const struct file_operations rng_chrdev_ops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.open = rng_dev_open,
|
.open = rng_dev_open,
|
||||||
@@ -316,7 +312,6 @@ static struct miscdevice rng_miscdev = {
|
|||||||
.groups = rng_dev_groups,
|
.groups = rng_dev_groups,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
static ssize_t hwrng_attr_current_store(struct device *dev,
|
static ssize_t hwrng_attr_current_store(struct device *dev,
|
||||||
struct device_attribute *attr,
|
struct device_attribute *attr,
|
||||||
const char *buf, size_t len)
|
const char *buf, size_t len)
|
||||||
|
Reference in New Issue
Block a user