gpio/74x164: remove unnecessary defines and prototype
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 27 May 2011 23:35:59 +0000 (16:35 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 3 Jun 2011 18:14:16 +0000 (12:14 -0600)
Remove the #define GEN_74X164_GPIO_COUNT since it's only used in
one place and it's meaning is obvious.  Also remove the #define
GEN_74X164_DRIVER_NAME and use spi->modalias to set the gpio chip's
label and the string "74x164" for the driver name.

Reorder the code slightly to remove the need to prototype
gen_74x164_set_value.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found