input: mt: Collect slots initialization code
The MT slots devices all follow the same initialization pattern
of creating slots and hinting about buffer size. Let drivers call
an initialization function instead, and make sure it can be called
repeatedly without side effects.
Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
Showing
想要评论请 注册 或 登录