summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-07-16 13:30:12 +0200
committerWolfram Sang <w.sang@pengutronix.de>2012-07-16 13:48:51 +0200
commit6f535b94261b16343cfbc4576a941bd7901b96e1 (patch)
tree4dd6d6e3183c030728b5cdf330b4c9ffa1dd7607 /Documentation/devicetree
parenti2c: i2c-ocores: support for 16bit and 32bit IO (diff)
downloadlinux-6f535b94261b16343cfbc4576a941bd7901b96e1.tar.xz
linux-6f535b94261b16343cfbc4576a941bd7901b96e1.zip
i2c: stu300: use devm managed resources
Allocate memory for device state using devm_kzalloc(), get the clock using devm_clk_get(), get the IRQ using devm_request_irq(), request and remap memory using devm_request_and_ioremap(). All to simplify accounting and letting the kernel do the garbage-collection. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions