Home
last modified time | relevance | path

Searched hist:"89151 f6b" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/i2c/
H A Di2c-core-of.c89151f6b Fri Mar 10 08:47:07 CST 2023 Rob Herring <robh@kernel.org> i2c: Use of_property_read_bool() for boolean properties

It is preferred to use typed property access functions (i.e.
of_property_read_<type> functions) rather than low-level
of_get_property/of_find_property functions for reading properties.
Convert reading boolean properties to to of_property_read_bool().

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
/openbmc/linux/drivers/i2c/busses/
H A Di2c-mpc.c89151f6b Fri Mar 10 08:47:07 CST 2023 Rob Herring <robh@kernel.org> i2c: Use of_property_read_bool() for boolean properties

It is preferred to use typed property access functions (i.e.
of_property_read_<type> functions) rather than low-level
of_get_property/of_find_property functions for reading properties.
Convert reading boolean properties to to of_property_read_bool().

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
H A Di2c-pxa.c89151f6b Fri Mar 10 08:47:07 CST 2023 Rob Herring <robh@kernel.org> i2c: Use of_property_read_bool() for boolean properties

It is preferred to use typed property access functions (i.e.
of_property_read_<type> functions) rather than low-level
of_get_property/of_find_property functions for reading properties.
Convert reading boolean properties to to of_property_read_bool().

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Wolfram Sang <wsa@kernel.org>