Re: [PATCH 3/3] regulator: tps65023: Added support for thesimiliar TPS65020 chip

From: Mark Brown
Date: Fri Jul 29 2011 - 08:34:25 EST


On Wed, Jul 27, 2011 at 12:32:47PM +0200, Marcus Folkesson wrote:

> +static struct tps_driver_data tps65020_drv_data = {
> + .info = (struct tps_info *) tps65020_regs,

Why do you need the cast here? I see it's in the original driver too
but it looks like something that should be fixed.
--
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/