aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2013-01-03 09:34:20 +0000
committerRalf Baechle <[email protected]>2013-02-15 23:07:37 +0100
commit42913c7992e9aca4deded016a05f6654e9b0807b (patch)
tree1b13a30e8fb606e8040df5756f91ba3288b622a9 /lib/debugobjects.c
parent0f3a05cb43e731b8cf861dee30e7e4bddd6c5ccc (diff)
MIPS: Loongson2: Use clk API instead of direct dereferences
A struct clk value is intended to be an abstract pointer, so it should be manipulated using the various API functions. clk_put is additionally added on the failure paths. The semantic match that finds the first problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression e,e1; identifier i; @@ *e = clk_get(...) ... when != e = e1 when any *e->i // </smpl> Signed-off-by: Julia Lawall <[email protected]> Cc: [email protected] Cc: [email protected], Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/4751/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions