i2c: taos-evm: replace simple_strtoul by kstrtou8
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Tue, 24 Nov 2015 07:43:27 +0000 (08:43 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 30 Nov 2015 17:37:22 +0000 (18:37 +0100)
commitc4c696fa1b0623031544da8b10f9d4e1401a49db
tree426d1dc3149ee147707eb75741d314efae91f5f6
parent725d2e3facfb51f8925da3cadce5380b5ea85d09
i2c: taos-evm: replace simple_strtoul by kstrtou8

The simple_strtoul function is marked as obsolete.
This patch replace it by kstrtou8.

Reviewed-by: Jean Delvare <jdelvare@suse.de>
Tested-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-taos-evm.c