---
name: "input_mt_destroy_slots"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/input_mt_destroy_slots"
---

# input\_mt\_destroy\_slots(9)

frees the MT slots of the input device

## NAME

input\_mt\_destroy\_slots - frees the MT slots of the input device

## SYNOPSIS

**void input\_mt\_destroy\_slots(struct input\_dev \*** *dev***);**

## ARGUMENTS

*dev*

input device with allocated MT slots

## DESCRIPTION

This function is only needed in error path as the input core will automatically free the MT slots when the device is destroyed.

## COPYRIGHT
