cosmetic: atcpit100_timer: Use device api to get platdata
authorRick Chen <rickchen36@gmail.com>
Tue, 28 Nov 2017 01:14:20 +0000 (09:14 +0800)
committerRick Chen <rickchen36@gmail.com>
Thu, 30 Nov 2017 01:39:07 +0000 (09:39 +0800)
commitc6c85dc87d2ca044458429cb2b61c0dcaea9b7d6
tree99ed37f2a97fb59d340e5b99607ac9f992ebb57b
parent033d408102d68950aaba0011d9e9a07d9fbcf955
cosmetic: atcpit100_timer: Use device api to get platdata

Use dev_get_platdata to get private platdata.

Signed-off-by: rick <rick@andestech.com>
Signed-off-by: Rick Chen <rickchen36@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/timer/atcpit100_timer.c