power: isp1704_charger: Fix isp1704_write() definition
authorIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Fri, 1 Jan 2016 11:03:29 +0000 (13:03 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 7 Jan 2016 15:38:30 +0000 (16:38 +0100)
commit88025632515adfb7fcfac15d087f155b719e78cd
tree3e04c1df1dba6cadb574304cc6210dc06c56e1d4
parent099867a16a0fa9fd5aafc32e3b1a6f8a90f17834
power: isp1704_charger: Fix isp1704_write() definition

All calls to isp1704_write() are using parameter sequence of
isp1704_write(isp, reg, val) but the function is defined as
isp1704_write(isp, val, reg). Fix isp1704_write function definition so
that the driver to be functional.

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/isp1704_charger.c