w1: Remove driver match function
authorLizhe <sensor1010@163.com>
Sun, 19 Mar 2023 04:41:07 +0000 (12:41 +0800)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 8 May 2023 06:13:35 +0000 (08:13 +0200)
commit388f22fe5d91d707352b4b743368b30e21d9d9bf
treed758b13e39d24d1cd2991c362ba0d7083defcc0c
parentdca5480ab7b77a889088ab7cac81934604510ac7
w1: Remove driver match function

If there is no driver match function, the driver core assumes that each
candidate pair (driver, device) matches, see driver_match_device().

Drop the bus's match function that always returned 1 and so
implements the same behaviour as when there is no match function

Signed-off-by: Lizhe <sensor1010@163.com>
Link: https://lore.kernel.org/r/20230319044107.311555-1-sensor1010@163.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/w1/w1.c