• Greg Kroah-Hartman's avatar
    HID: vivaldi: convert to use dev_groups · 9f4441fc
    Greg Kroah-Hartman authored
    There is no need for a driver to individually add/create device groups,
    the driver core will do it automatically for you.  Convert the
    hid-vivaldi core driver to use the dev_groups pointer instead of
    manually calling the driver core to create the group and have it be
    cleaned up later on by the devm core.
    
    Cc: Jiri Kosina <jikos@kernel.org>
    Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
    Cc: linux-input@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    9f4441fc
hid-google-hammer.c 15.7 KB