summaryrefslogtreecommitdiff
path: root/drivers/w1/slaves/w1_ds2781.c
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2017-05-16 15:02:12 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-25 18:23:03 +0200
commit50fa2951bd744d2a82aa33074001efac12d4e1cf (patch)
tree8290ea3c8a7c7bd26cfea3788f4a632526c2ca92 /drivers/w1/slaves/w1_ds2781.c
parent13b9abfc92be7c4454bff912021b9f835dea6e15 (diff)
w1: Organize driver source to natural/common order
Structures and functions should be ordered such that forward declaration use is minimized. MODULE_* macros should immediately follow the structures and functions upon which they act. Remaining MODULE_* macros should be at the end of the file in alphabetical order. Signed-off-by: Andrew F. Davis <afd@ti.com> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/slaves/w1_ds2781.c')
-rw-r--r--drivers/w1/slaves/w1_ds2781.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/slaves/w1_ds2781.c b/drivers/w1/slaves/w1_ds2781.c
index 9c03e014cf9e..a5d75067b230 100644
--- a/drivers/w1/slaves/w1_ds2781.c
+++ b/drivers/w1/slaves/w1_ds2781.c
@@ -153,7 +153,7 @@ static struct w1_family w1_ds2781_family = {
};
module_w1_family(w1_ds2781_family);
-MODULE_LICENSE("GPL");
MODULE_AUTHOR("Renata Sayakhova <renata@oktetlabs.ru>");
MODULE_DESCRIPTION("1-wire Driver for Maxim/Dallas DS2781 Stand-Alone Fuel Gauge IC");
+MODULE_LICENSE("GPL");
MODULE_ALIAS("w1-family-" __stringify(W1_FAMILY_DS2781));