staging: ks7010: use u16 instead of unsigned short in hostif_event_check
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 4 May 2018 04:16:47 +0000 (06:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 01:58:41 +0000 (18:58 -0700)
commit5437e9b2434becbadbc883bc312068a15fd3bb6c
treef420d96cc72e33305ecb3d4a9b87aeecd682b876
parentd74d0899349221b4356545ba88e4d0882d049d2f
staging: ks7010: use u16 instead of unsigned short in hostif_event_check

Local variable 'event' is declared as unsigned short in hostif_event_check
function. Its value is got calling get_word which returns an 'u16'
so change its type to u16 which is preferred.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c