nvmem: fixed-cell: Simplify nested if/then schema
authorRob Herring <robh@kernel.org>
Sat, 24 Feb 2024 11:45:06 +0000 (11:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Mar 2024 20:21:53 +0000 (20:21 +0000)
commit508ecc78b6c983a7921bee2f4bd22682f9f0396e
tree68f241e3b79a6f636e37361f239e53aa1ca8c1eb
parentab23f1bffcf690ffae2b0c4bb8b09420299be05c
nvmem: fixed-cell: Simplify nested if/then schema

There's no reason to have a nested if/then schema as checking for compatible
being present and containing 'mac-base' can all be done in one 'if' schema.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240224114516.86365-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/nvmem/layouts/fixed-cell.yaml