Re: [PATCH 1/2 v4] gpio: msm7200a: Add gpiolib support for MSM chips.

From: Mike Frysinger
Date: Tue Jun 15 2010 - 17:18:39 EST


On Tue, Jun 15, 2010 at 17:11, Gregory Bean wrote:
> +config GPIO_MSM7200A
> + Â Â Â tristate "Qualcomm MSM7200A SoC GPIO support"
> + Â Â Â depends on GPIOLIB
> + Â Â Â help
> + Â Â Â Â Say yes here to support GPIO functionality on Qualcomm's
> + Â Â Â Â MSM chipsets which descend from the MSM7200a:
> + Â Â Â Â MSM7x01(a), MSM7x25, MSM7x27, MSM7x30, QSD8x50(a).

you should mention the module name in the help text

> +static int msm_gpio_probe(struct platform_device *dev)

should have __devinit markings

> +static int msm_gpio_remove(struct platform_device *dev)

__devexit

> + Â Â Â .remove = msm_gpio_remove,

__devexit_p()

> +postcore_initcall(msm_gpio_init);

does this really need to be postcore rather than module ?
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/