[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <1329933982-2529-1-git-send-email-k.lewandowsk@samsung.com>
Date: Wed, 22 Feb 2012 19:06:19 +0100
From: Karol Lewandowski <k.lewandowsk@...sung.com>
To: myungjoo.ham@...sung.com
Cc: kyungmin.park@...sung.com, m.szyprowski@...sung.com,
devicetree-discuss@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
cbou@...l.ru, Karol Lewandowski <k.lewandowsk@...sung.com>
Subject: [PATCH 0/3] power: max17042_battery: Add DT bindings
Hi,
This series of patches adds bindings to max17042_battery driver making
it possible to instantiate it from device tree description.
First, convience patch, simply replaces kzalloc with devm_kzalloc
where possible.
Second, most intrusive patch adds variables orginally found only in
platform data to max17042_chip structure. I decided it to do it that
way rather than allocating new platform data and then populating it
from device tree description.
Last patch adds DT bindings itself.
I would be grateful for any comments and I will be more than happy to
rework this patchset if needed.
Karol Lewandowski (3):
max17042_battery: Use devm_kzalloc() where applicable
max17042_battery: Preserve properties outside of platform data
max17042_battery: Make it possible to instantiate driver from DT
.../bindings/power_supply/max17042_battery.txt | 18 +++++
drivers/power/max17042_battery.c | 77 ++++++++++++++++----
2 files changed, 79 insertions(+), 16 deletions(-)
create mode 100644 Documentation/devicetree/bindings/power_supply/max17042_battery.txt
--
1.7.8.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists