From: Sachin Kamat Date: Wed, 22 May 2013 09:07:24 +0000 (+0530) Subject: Staging: speakup/kobjects: Use NULL instead of 0 X-Git-Tag: MMI-PSA29.97-13-9~14152^2~494 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aee175f55a5968ce250a9afde26af106ac6caa9c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: speakup/kobjects: Use NULL instead of 0 Use NULL instead of 0 for pointers. Signed-off-by: Sachin Kamat Signed-off-by: Greg Kroah-Hartman --- 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);