]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: spi: Convert is_locked callback to is_unlocked
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 2 Mar 2022 14:01:55 +0000 (15:01 +0100)
committerJagan Teki <jagan@edgeble.ai>
Mon, 18 Jul 2022 13:45:19 +0000 (19:15 +0530)
commit513c6071ce73d026bb87a4db009e4bfc28e93df3
treeb92a6103b0ab6b2e5ae8f4d670a3cf1eb5f4981e
parentcd2f9031e492ca03d2baddce0f7506036e9f2124
mtd: spi: Convert is_locked callback to is_unlocked

There was no user of this callback after 5b66fdb29dc3 anymore, and its
semantic as now inconsistent between stm and sst26. What we need for the
upcoming new usecase is a "completely unlocked" semantic. So consolidate
over this.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/spi-nor-core.c
include/linux/mtd/spi-nor.h