Skip to content
Commit 88adcd66 authored by Chen Huang's avatar Chen Huang Committed by Greg Kroah-Hartman
Browse files

w1: ds2805: Use module_w1_family to simplify the code



module_w1_family() makes the code simpler by eliminating
boilerplate code.

Signed-off-by: default avatarChen Huang <chenhuang5@huawei.com>
Link: https://lore.kernel.org/r/20210408130954.1158963-1-chenhuang5@huawei.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a7dc1e6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment