mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
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>
This commit is contained in:
parent
a2576177cc
commit
604e383c52
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user