diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-22 14:37:24 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-22 15:35:39 -0700 |
commit | aee175f55a5968ce250a9afde26af106ac6caa9c (patch) | |
tree | ef46fdb3a5b3bd5623b906f6f4b44930bd33d19e /drivers/staging/speakup | |
parent | ff471ea823d8cdd790759febc358c3776a90c922 (diff) | |
download | linux-stable-aee175f55a5968ce250a9afde26af106ac6caa9c.tar.gz linux-stable-aee175f55a5968ce250a9afde26af106ac6caa9c.tar.bz2 linux-stable-aee175f55a5968ce250a9afde26af106ac6caa9c.zip |
Staging: speakup/kobjects: Use NULL instead of 0
Use NULL instead of 0 for pointers.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r-- | drivers/staging/speakup/kobjects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c index 5c93bb388f34..51bdea3a5bea 100644 --- a/drivers/staging/speakup/kobjects.c +++ b/drivers/staging/speakup/kobjects.c @@ -521,7 +521,7 @@ static ssize_t punc_store(struct kobject *kobj, struct kobj_attribute *attr, spin_lock_irqsave(&speakup_info.spinlock, flags); if (*punc_buf == 'd' || *punc_buf == 'r') - x = spk_set_mask_bits(0, var->value, 3); + x = spk_set_mask_bits(NULL, var->value, 3); else x = spk_set_mask_bits(punc_buf, var->value, 3); |