OSDN Git Service

thermometer: Store Intermediate Temperature CCC handle in struct
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Fri, 9 Nov 2012 08:55:44 +0000 (09:55 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 30 Nov 2012 13:01:49 +0000 (15:01 +0200)
commitc9958f1a3b78bf49f84d2137bd372ad0e9b5177b
treeb8624c477d9291d6dd8775d5b1e9b453efcef250
parentf4b4485d25932bd62e2de799352f04015a4d6888
thermometer: Store Intermediate Temperature CCC handle in struct

This patch adds Intermediate Measurement CCC handle value directly into
thermometer struct. This way there's no need to traverse nested lists
looking for value.

write_ccc() function and related helpers are now unused so can be
removed.
profiles/thermometer/thermometer.c