Commit fdd89fff authored by Peter Hutterer's avatar Peter Hutterer

test: drop obsolete semi-mt allocation for the atmel hover device

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 4c4d400b
......@@ -30,9 +30,6 @@
#include "litest.h"
#include "litest-int.h"
static void
atmel_hover_create(struct litest_device *d);
static void
litest_atmel_hover_setup(void)
{
......@@ -137,27 +134,9 @@ struct litest_test_device litest_atmel_hover_device = {
.shortname = "atmel hover",
.setup = litest_atmel_hover_setup,
.interface = &interface,
.create = atmel_hover_create,
.name = "Atmel maXTouch Touchpad",
.id = &input_id,
.events = events,
.absinfo = absinfo,
};
static void
atmel_hover_create(struct litest_device *d)
{
struct litest_semi_mt *semi_mt;
semi_mt = zalloc(sizeof(*semi_mt));
d->private = semi_mt;
d->uinput = litest_create_uinput_device_from_description(
litest_atmel_hover_device.name,
litest_atmel_hover_device.id,
absinfo,
events);
d->interface = &interface;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment