commit | 8f33370c13ec16eede825af6c866058c4ff4e48d | [log] [tgz] |
---|---|---|
author | Jie Cheng <rockiec@codeaurora.org> | Mon Jan 06 15:58:27 2014 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sun Jan 19 23:03:55 2014 -0800 |
tree | 85da43fd4b69ba83c46395dbb2db85a113118b39 | |
parent | 9ccf4a4709aab619dfcfbbad79d1ff54ea7f98c2 [diff] |
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