]> git.baikalelectronics.ru Git - kernel.git/commit
zram: use ATTRIBUTE_GROUPS
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 14 Jan 2022 22:09:22 +0000 (14:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Jan 2022 14:30:31 +0000 (16:30 +0200)
commit64b5b09bc0dffcb321f04cf6796545529df346d6
tree1ccf870ee1c3b5f53ac274a9eb9647a18ad4a039
parente1338b5fac83d1953d9e049c3d1b75b8f4e6f9f7
zram: use ATTRIBUTE_GROUPS

Embrace ATTRIBUTE_GROUPS to avoid boiler plate code.  This should not
introduce any functional changes.

Link: https://lkml.kernel.org/r/20211028203600.2157356-1-mcgrof@kernel.org
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/zram/zram_drv.c