oprofile: Remove exit function for timer mode
authorRobert Richter <robert.richter@amd.com>
Fri, 14 Oct 2011 13:46:10 +0000 (15:46 +0200)
committerRobert Richter <robert.richter@amd.com>
Fri, 4 Nov 2011 14:04:35 +0000 (15:04 +0100)
commit75c43a20b220f885c39ffa7cdbbb1191e257a9a9
treea623847b0235f618438b03785b4860a80e0d4b1b
parent159a80b2142df709416ab369113de7d511c48331
oprofile: Remove exit function for timer mode

Remove exit functions by moving init/exit code to oprofile's setup/
shutdown functions. Doing so the oprofile module exit code will be
easier and less error-prone.

Signed-off-by: Robert Richter <robert.richter@amd.com>
drivers/oprofile/oprof.c
drivers/oprofile/timer_int.c