]> git.baikalelectronics.ru Git - uboot.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)
commit313341296e433d0da455d4771554c203a59c56bd
treeb92a6103b0ab6b2e5ae8f4d670a3cf1eb5f4981e
parentb7c2e82e906ce22f780a436f8ccf48007d9cb820
mtd: spi: Convert is_locked callback to is_unlocked

There was no user of this callback after b8d7d649c47e 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