diff options
| author | Rob Herring <robh@kernel.org> | 2023-03-10 08:47:23 -0600 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-16 23:44:04 -0400 |
| commit | 06f8e0714c9f617dcc40db63b8376a1e547d9531 (patch) | |
| tree | d642bce08b62c7b4a32fe229fc65404e3ade5eb3 /lib/mpi/mpi-mod.c | |
| parent | c5797fda210fc852f876f0660e959b5e9db604d8 (diff) | |
scsi: qlogicpti: sun_esp: 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 of_property_read_bool().
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230310144723.1544999-1-robh@kernel.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
