w1: ds2805: Use module_w1_family to simplify the code
module_w1_family() makes the code simpler by eliminating boilerplate code. Signed-off-by: NChen Huang <chenhuang5@huawei.com> Link: https://lore.kernel.org/r/20210408130954.1158963-1-chenhuang5@huawei.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录