Skip to content

Use common macro to define resources

Jean-Christophe PLAGNIOL-VILLARD linux-arm-kernel linux-samsung-soc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 33 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 33 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/33] Use common macro to define resources
Quoted 20 lines · Heiko St?bner

Hi,

Am Mittwoch, 25. April 2012, 06:19:39 schrieb Jean-Christophe PLAGNIOL- VILLARD:

Quoted 9 lines · Tushar Behera
Quoted 8 lines

There are some helper macros (DEFINE_RES_XXX) for defining resource structures. This patchset migrates all the earlier resource definitions (within Samsung specific code base) to use these macros.

In some cases, it was not possible to use DEFINE_RES_IRQ() macro because of usage of additional flags. In those cases, DEFINE_RES_NAMED() macro is used instead.

Quoted 6 lines
Quoted 4 lines

The patches are rebased on top of Kukjin's for-next branch at this commit.

d0ee53a Merge branch 'next/board-samsung' into for-next

is this really necessary as we switch to DT this code will be droped

Quoted 7 lines

As far as I know legacy SoCs are allowed to keep being non-DT and I don't see the older Samsung SoCs (especially the S3C24XX ones) changing to DT anytime soon, as they don't see any new development but only bug fixes currently.

Quoted 1 line

for my point of view it's cosmetics change

it is, but it also makes the code more readable

we get comment from Linus to do not do cosmetic changes

so if it work well I'll not touch it

Best Regards,
J.