devm_input_allocate_device man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

DEVM_INPUT_ALLOCATE_(9)		Input Subsystem	       DEVM_INPUT_ALLOCATE_(9)

NAME
       devm_input_allocate_device - allocate managed input device

SYNOPSIS
       struct input_dev * devm_input_allocate_device(struct device * dev);

ARGUMENTS
       dev
	   device owning the input device being created

DESCRIPTION
       Returns prepared struct input_dev or NULL.

       Managed input devices do not need to be explicitly unregistered or
       freed as it will be done automatically when owner device unbinds from
       its driver (or binding fails). Once managed input device is allocated,
       it is ready to be set up and registered in the same fashion as regular
       input device. There are no special devm_input_device_[un]register
       variants, regular ones work with both managed and unmanaged devices,
       should you need them. In most cases however, managed input device need
       not be explicitly unregistered or freed.

NOTE
       the owner device is set up as parent of input device and users should
       not override it.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013	       DEVM_INPUT_ALLOCATE_(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net