mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-21 12:00:31 +01:00
test: drop obsolete semi-mt allocation for the atmel hover device
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
4c4d400bcb
commit
fdd89fffea
1 changed files with 0 additions and 21 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue