Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
hwmon.h File Reference

Go to the source code of this file.

Functions

struct devicehwmon_device_register (struct device *dev)
 
void hwmon_device_unregister (struct device *dev)
 

Function Documentation

struct device* hwmon_device_register ( struct device dev)
read

hwmon_device_register - register w/ hwmon : the device to register

hwmon_device_unregister() must be called when the device is no longer needed.

Returns the pointer to the new device.

Definition at line 41 of file hwmon.c.

void hwmon_device_unregister ( struct device dev)

hwmon_device_unregister - removes the previously registered class device

: the class device to destroy

Definition at line 65 of file hwmon.c.