summaryrefslogtreecommitdiff
path: root/drivers/regulator/da903x.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-05-04 14:01:33 +0200
committerAlexander Graf <agraf@suse.de>2012-05-06 16:19:12 +0200
commitc46dc9a86148bc37c31d67a22a3887144ba7aa81 (patch)
treeba2a4f49072d3524d607ce3add83ef697fae517b /drivers/regulator/da903x.c
parent5b74716ebab10e7bce960d148fe6d8f6920451e5 (diff)
KVM: PPC: Emulator: clean up instruction parsing
Instructions on PPC are pretty similarly encoded. So instead of every instruction emulation code decoding the instruction fields itself, we can move that code to more generic places and rely on the compiler to optimize the unused bits away. This has 2 advantages. It makes the code smaller and it makes the code less error prone, as the instruction fields are always available, so accidental misusage is reduced. Functionally, this patch doesn't change anything. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'drivers/regulator/da903x.c')
0 files changed, 0 insertions, 0 deletions