staging: ks7010: use le16_to_cpu() to access __le16 field
authorRichard Porter <dick@acm.org>
Sun, 4 Jun 2017 10:10:12 +0000 (11:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Jun 2017 14:54:19 +0000 (16:54 +0200)
commit9f98c6e67ffd1961884e70023a33e81730cd7fcb
tree12872a24f233d13a04eaaa26416d5f79f22ec3db
parent1d80d1bd176ac7e9414d49096bfb3da2c929ee8a
staging: ks7010: use le16_to_cpu() to access __le16 field

Fixes sparse warning:
drivers/staging/ks7010/ks_hostif.c:959:24: warning: restricted __le16
degrades to integer

Signed-off-by: Richard Porter <dick@acm.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c