Sensors drivers are implemented using the Linux driver model. There are basically four compontents to this: devices, drivers, busses and classes.

Devices

Devices are a data structure that represents the physical device.