mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-03 15:55:38 +00:00
Input: snvs_pwrkey - remove gratuitous NULL initializers
Gratuitous NULL initializers rarely help and often prevent compiler from warning about using uninitialized variable. Let's remove them. Reviewed-by: Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/20191125211407.GA97812@dtor-ws Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
1a26c92071
commit
1e55c176f8
1 changed files with 2 additions and 2 deletions
|
@ -108,8 +108,8 @@ static void imx_snvs_pwrkey_act(void *pdata)
|
||||||
|
|
||||||
static int imx_snvs_pwrkey_probe(struct platform_device *pdev)
|
static int imx_snvs_pwrkey_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct pwrkey_drv_data *pdata = NULL;
|
struct pwrkey_drv_data *pdata;
|
||||||
struct input_dev *input = NULL;
|
struct input_dev *input;
|
||||||
struct device_node *np;
|
struct device_node *np;
|
||||||
int error;
|
int error;
|
||||||
u32 vid;
|
u32 vid;
|
||||||
|
|
Loading…
Add table
Reference in a new issue