[PATCH v2 00/13] memory: simplify with scoped/cleanup.h for device nodes
From: Krzysztof Kozlowski
Date: Fri Aug 16 2024 - 06:54:57 EST
Changes in v2:
- Add tags
- Wrap lines before of_parse_phandle() (Jonathan)
- Few new patches (see individual changelogs)
- Link to v1: https://lore.kernel.org/r/20240812-cleanup-h-of-node-put-memory-v1-0-5065a8f361d2@xxxxxxxxxx
Make code a bit simpler and smaller by using cleanup.h when handling
device nodes.
Best regards,
Krzysztof
---
Krzysztof Kozlowski (13):
memory: atmel-ebi: use scoped device node handling to simplify error paths
memory: atmel-ebi: simplify with scoped for each OF child loop
memory: samsung: exynos5422-dmc: simplify dmc->dev usage
memory: samsung: exynos5422-dmc: use scoped device node handling to simplify error paths
memory: stm32-fmc2-ebi: simplify with scoped for each OF child loop
memory: stm32-fmc2-ebi: simplify with dev_err_probe()
memory: tegra-mc: simplify with scoped for each OF child loop
memory: tegra124-emc: simplify with scoped for each OF child loop
memory: tegra20-emc: simplify with scoped for each OF child loop
memory: tegra30-emc: simplify with scoped for each OF child loop
memory: ti-aemif: simplify with dev_err_probe()
memory: ti-aemif: simplify with devm_clk_get_enabled()
memory: ti-aemif: simplify with scoped for each OF child loop
drivers/memory/atmel-ebi.c | 35 +++++--------
drivers/memory/samsung/exynos5422-dmc.c | 90 +++++++++++++++------------------
drivers/memory/stm32-fmc2-ebi.c | 23 +++------
drivers/memory/tegra/mc.c | 11 ++--
drivers/memory/tegra/tegra124-emc.c | 7 +--
drivers/memory/tegra/tegra20-emc.c | 7 +--
drivers/memory/tegra/tegra30-emc.c | 7 +--
drivers/memory/ti-aemif.c | 48 +++++-------------
8 files changed, 80 insertions(+), 148 deletions(-)
---
base-commit: cf4d89333014d387065aa296160aaec5cec04cc5
change-id: 20240812-cleanup-h-of-node-put-memory-dd6de1b92917
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>