Re: [PATCH 4/5] mfd: palmas: Add tps65917 support

From: Keerthy
Date: Tue May 27 2014 - 04:40:45 EST


On Tuesday 27 May 2014 02:08 PM, Lee Jones wrote:
On Mon, 26 May 2014, Keerthy wrote:

Add tps65917 PMIC support. tps65917 is a subset of palmas PMIC.
Some of the register definitions and the interrupt mappings
are different.

Signed-off-by: Keerthy <j-keerthy@xxxxxx>
---
drivers/mfd/palmas.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++--
Much nicer. You just saved yourself(/the subsystem) 420 lines!

I have a single nit. Once it's fixed-up you can apply my:

Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>

Thanks.


1 file changed, 172 insertions(+), 5 deletions(-)

diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c
index d280d78..e4684cc 100644
--- a/drivers/mfd/palmas.c
+++ b/drivers/mfd/palmas.c
[...]

static const struct of_device_id of_palmas_match_tbl[] = {
{
.compatible = "ti,palmas",
- .data = &palmas_features,
+ .data = &palmas_data,
},
{
.compatible = "ti,tps659038",
- .data = &tps659038_features,
+ .data = &tps659038_data,
},
+ {
+ .compatible = "ti,tps65917",
+ .data = &tps65917_data,
+ },
+
Please get rid of this line.

Oops. I will knock off this line and submit.


{ },
};
MODULE_DEVICE_TABLE(of, of_palmas_match_tbl);

--
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/