]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio: rng: split out common code in probe / remove for s3/s4 ops
authorAmit Shah <amit.shah@redhat.com>
Mon, 28 May 2012 06:48:42 +0000 (12:18 +0530)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 21 Jul 2012 22:28:13 +0000 (08:28 +1000)
commit61b0ba2a172ef7a4d05ecbfbd8c393dce3598b6d
treeefeb4e2cc017aa6284c859f2b0c1233c6e7f53af
parent62b57af6081d03c298dc819b1a29361440648e94
virtio: rng: split out common code in probe / remove for s3/s4 ops

The freeze/restore s3/s4 operations will use code that's common to the
probe and remove routines.  Put the common code in separate funcitons.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/hw_random/virtio-rng.c