thermal: Change order of initialization 08/210608/2
authorDongwoo Lee <dwoo08.lee@samsung.com>
Fri, 19 Jul 2019 03:33:55 +0000 (12:33 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Tue, 23 Jul 2019 06:40:18 +0000 (15:40 +0900)
commitf5b88f70979048877da0ebfca69eb80f8cd3e3cc
treed9a898a22444d4159d85614ca932c80f771dd263
parent74c2e543cec271f964a8c807854d136262236d85
thermal: Change order of initialization

To prevent race condition, dbus object should be registered before
well-known name is acquired. This patch changes order of initilizing
to fit this precondition.

Change-Id: I9fe60af8ed542155d26cc9c8a5f88eade3b38bb5
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
src/thermal/thermal.c