commit | 9879b2c46f432d6d805743d14a7456b6fae8ac7a | [log] [tgz] |
---|---|---|
author | Eduardo Valentin <eduardo.valentin@ti.com> | Tue Mar 19 10:54:23 2013 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 25 11:28:31 2013 -0700 |
tree | 33af2c02e75bf179213c29a2a9410fda2d4990e7 | |
parent | 2f8ec2a9719dec8e74e413255aa3dbb27af6a654 [diff] |
staging: ti-soc-thermal: split writable data from readonly data This patch changes the data structures of this driver so that readonly data can reside only in the conf pointer. Now each register has a struct to hold its configuration info, to be used base on chip version for instance, and a struct of values to be written, like register shadow and priv data. Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>