diff options
author | Sandhya Bankar <bankarsandhya512@gmail.com> | 2016-09-18 04:41:39 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-18 12:38:27 +0200 |
commit | 604e383c5229a214e17695e3ec13d9aa4952e10c (patch) | |
tree | 8a4aea820a3c4e8d886e2be9be957778b688bc82 /drivers/staging/fbtft/fbtft_device.c | |
parent | a2576177cce7f1b5d04035a98bd1e27935fdb5fa (diff) |
Staging: fbtft: Use !x instead of x == NULL.
Use !x instead of x == NULL. This patch was found by checkpatch.
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fbtft/fbtft_device.c')
-rw-r--r-- | drivers/staging/fbtft/fbtft_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fbtft/fbtft_device.c b/drivers/staging/fbtft/fbtft_device.c index 924abd3ac0d6..e9f25ddebff0 100644 --- a/drivers/staging/fbtft/fbtft_device.c +++ b/drivers/staging/fbtft/fbtft_device.c @@ -1401,7 +1401,7 @@ static int __init fbtft_device_init(void) long val; int ret = 0; - if (name == NULL) { + if (!name) { #ifdef MODULE pr_err("missing module parameter: 'name'\n"); return -EINVAL; |