]> asedeno.scripts.mit.edu Git - linux.git/commit
w1: ds2482: cosmetic fixes after 54865314f5a1
authorMariusz Bialonczyk <manio@skyboo.net>
Mon, 4 Mar 2019 11:23:36 +0000 (12:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Mar 2019 17:20:33 +0000 (02:20 +0900)
commit5cb27d30fc3a281e830a2099d520b469e2b82008
tree92f9278fb82c1b56c9711053440411006a1b679e
parent13bd14a41ce3105d5b1f3cd8b4d1e249d17b6d9b
w1: ds2482: cosmetic fixes after 54865314f5a1

We have a helper function ds2482_calculate_config() which is calculating
the config value, so just use it instead of passing the same variable
in all calls to this function.

Also fixes the placement of module parameters to match with:
50fa2951bd74 (w1: Organize driver source to natural/common order)
by Andrew F. Davis

Signed-off-by: Mariusz Bialonczyk <manio@skyboo.net>
Cc: Andrew Worsley <amworsley@gmail.com>
Cc: Andrew F. Davis <afd@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/ds2482.c