Re: [PATCHv5 1/4] MFD: TPS65910: Add new mfd device for TPS65910

From: Samuel Ortiz
Date: Mon May 02 2011 - 11:27:19 EST


Hi Jorge,

On Wed, Apr 27, 2011 at 10:51:00AM -0500, Jorge Eduardo Candelaria wrote:
> From: Graeme Gregory <gg@xxxxxxxxxxxxxxx>
>
> The TPS65910 chip is a power management IC for multimedia and handheld
> devices. It contains the following components:
>
> - Regulators
> - GPIO controller
> - RTC
>
> The tps65910 core driver is registered as a platform driver and provides
> communication through I2C with the host device for the different
> components.
I'm going to be picky here:

> +static DEFINE_MUTEX(io_mutex);
Having this mutex in the tps65910 structure would be cleaner. I know the
likeliness of having 2 of those devices in one system is very low, but still,
it would be nicer.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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/