staging: nvec: Fix incorrect type of i2c address
authorFranck Demathieu <franck.demathieu@intel.com>
Mon, 13 Feb 2017 08:35:19 +0000 (09:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2017 17:14:28 +0000 (09:14 -0800)
commit4cf64a5f512da749ef635431fdf5da56bf1652af
treeae8290c194888522f77a3747fb9203736f981807
parent07e9ef146071adf316312b3dd4abfe41c9a45a7d
staging: nvec: Fix incorrect type of i2c address

The i2c address is unsigned according to the dt-bindings.
Fix sparse issue (-Wtypesign):

  drivers/staging/nvec/nvec.c:781:35: warning: incorrect type in argument 3 (different signedness)
  drivers/staging/nvec/nvec.c:781:35:    expected unsigned int [usertype] *out_value
  drivers/staging/nvec/nvec.c:781:35:    got int *<noident>

Signed-off-by: Franck Demathieu <fdemathieu@gmail.com>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec.h