sensors: HAL: use the new constructor with the name parameter

Use the new constructor and pass the sensor class "name" to each sensor
HAL driver. With the "name", each HAL driver could easily find the enable
and poll_delay interface. This code will remove same type sensor check and
allow the system to load multiple same type sensors too.

Change-Id: I137bfa346860fc42dc0eb0ad43ccbe0a89f2b857
1 file changed