diff options
author | Tero Kristo <t-kristo@ti.com> | 2015-02-09 16:17:38 +0200 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-03-31 21:26:55 +0300 |
commit | 23d240d661f42214bd372c0e5b21afaf71b9329c (patch) | |
tree | 8cc47acbe8552433cd93c9dc0e7ff5e19abc08bd /Documentation/devicetree/bindings/c6x/dscr.txt | |
parent | ae0f6798474053eb76863fa9b3befd9deea58ba6 (diff) | |
download | lwn-23d240d661f42214bd372c0e5b21afaf71b9329c.tar.gz lwn-23d240d661f42214bd372c0e5b21afaf71b9329c.zip |
ARM: OMAP2+: id: cache omap_type value
There is no need to read the register with every invocation of the function,
as the value is constant. Thus, cache the value in a static variable.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/c6x/dscr.txt')
0 files changed, 0 insertions, 0 deletions