+32
−19
+95
−88
Loading
Rearrange attribute code to use generic show and set handlers
instead of replicating them for every attribute; switch to
using attribute_group instead of creating all attributes
manually. All this saves about 4K.
Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>