Re: [PATCH] dt-bindings: Drop k2g genpd device ID macros

From: Rob Herring
Date: Wed May 31 2017 - 12:29:02 EST


On Mon, May 22, 2017 at 01:37:37PM -0500, Dave Gerlach wrote:
> Commit 7cc119f29b19 ("dt-bindings: Add TI SCI PM Domains") introduced a
> number of K2G_DEV_x macros to represent each device ID available on the
> K2G platform for use by the genpd, clock, and reset drivers. Rather than
> use these macros, which are only used in the device tree for property
> values and not actually used by the drivers, let's just use the device
> ID number directly in the device tree to avoid macro bloat.
>
> Signed-off-by: Dave Gerlach <d-gerlach@xxxxxx>
> ---
> Based on discussion here [1] it was agreed that these macros are not needed
> and it is better to just use the device IDs directly in dt.
>
> [1] https://www.spinics.net/lists/arm-kernel/msg577079.html
>
> .../devicetree/bindings/soc/ti/sci-pm-domain.txt | 5 +-
> include/dt-bindings/genpd/k2g.h | 90 ----------------------
> 2 files changed, 3 insertions(+), 92 deletions(-)
> delete mode 100644 include/dt-bindings/genpd/k2g.h

Acked-by: Rob Herring <robh@xxxxxxxxxx>