blk: add a helper function, blk_probe_or_unbind()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 10 Dec 2021 06:49:29 +0000 (15:49 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 18 Dec 2021 11:05:19 +0000 (12:05 +0100)
commit19b241c61faaa18c777e684ca5c43ad461af0afd
tree08d9efeb39f4beae613510fbf8011d82337b922e
parent5d21dfec4ac92f8b38130660ed9c4d22712ecab5
blk: add a helper function, blk_probe_or_unbind()

This function will be commonly used in block device drivers
in the succeeding patches.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
drivers/block/blk-uclass.c
include/blk.h