From: H Hartley Sweeten Date: Fri, 27 May 2011 23:35:59 +0000 (-0700) Subject: gpio/74x164: remove unnecessary defines and prototype X-Git-Tag: v3.1-rc1~313^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3cc68c37897f0656489a0d853d6e342fc6f076b;p=pandora-kernel.git gpio/74x164: remove unnecessary defines and prototype 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 Signed-off-by: Grant Likely --- Reading git-diff-tree failed