staging: ks7010: replace defines with enum types
authorTobin C. Harding <me@tobin.cc>
Tue, 18 Apr 2017 00:35:30 +0000 (10:35 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Apr 2017 11:33:17 +0000 (13:33 +0200)
commit68711cebcbb4dd7f5c05245715eefa4f4d4be760
treef756004bb0a096c002b587def147a88b1c12206c
parentbfee6a231903b1f1f8d72cc638be6862d7099377
staging: ks7010: replace defines with enum types

Header has multiple constants defined using preprocessor
directive. In the cases where these are an integer progression an
enumeration type can be used. Doing so adds documentation to the code
and makes the usage explicit. Maintain original constant value, this
value is returned by the device.

Replace (integer progression) preprocessor constants with enumeration
type.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.h