Yann Gautier 06d223cb4f fix(io): compare function pointers with NULL
The ops->read and ops->write existence was checked with 0, change it
to NULL.
This corrects sparse issues:
drivers/io/io_block.c:272:9: warning:
 Using plain integer as NULL pointer
drivers/io/io_block.c:384:9: warning:
 Using plain integer as NULL pointer
drivers/io/io_block.c:384:9: warning:
 Using plain integer as NULL pointer

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I039050a645107523d8263ddf820e539c260d956c
2023-01-10 18:59:58 +01:00
..
2019-01-04 10:43:17 +00:00
2020-07-16 13:10:23 -05:00
2022-02-15 18:09:51 +01:00
2020-07-16 13:10:23 -05:00
2020-07-16 13:10:23 -05:00