Re: [PATCH 01/11] drivers/i2c/busses/i2c-nforce2.c: Removeunnecessary casts of pci_get_drvdata
From: Jean Delvare
Date: Mon Nov 15 2010 - 16:07:29 EST
On Mon, 15 Nov 2010 12:13:52 -0800, Joe Perches wrote:
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---
> drivers/i2c/busses/i2c-nforce2.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/i2c/busses/i2c-nforce2.c b/drivers/i2c/busses/i2c-nforce2.c
> index a605a50..ff1e127 100644
> --- a/drivers/i2c/busses/i2c-nforce2.c
> +++ b/drivers/i2c/busses/i2c-nforce2.c
> @@ -432,7 +432,7 @@ static int __devinit nforce2_probe(struct pci_dev *dev, const struct pci_device_
>
> static void __devexit nforce2_remove(struct pci_dev *dev)
> {
> - struct nforce2_smbus *smbuses = (void*) pci_get_drvdata(dev);
> + struct nforce2_smbus *smbuses = pci_get_drvdata(dev);
>
> nforce2_set_reference(NULL);
> if (smbuses[0].base) {
Applied, thanks.
--
Jean Delvare
--
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/