char: tlclk: constify attribute_group structures.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 2 Aug 2017 11:19:05 +0000 (16:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 15:15:16 +0000 (17:15 +0200)
commit0faef109bdac1328b529342bfc8c3d34005a56fe
treecf887530a0fb66efbd79740343b69b9d983b4c69
parenta890d56a9d9e4a8345c08f9212504bbc396bb7dd
char: tlclk: constify attribute_group structures.

attribute_group are not supposed to change at runtime. All functions
working with attribute_group provided by <linux/sysfs.h> work with
const attribute_group. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/tlclk.c