summaryrefslogtreecommitdiff
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2016-05-31 14:25:59 (GMT)
committerDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-28 08:19:17 (GMT)
commitb7c4db861683af5fc50ac3cb3751cf847d765211 (patch)
treed99dd70e66b503d06d933f12e2ab3b994ba30dab /mm/swapfile.c
parentc35d9292fee0474a1a037f75b0b85af32200c76f (diff)
downloadlinux-b7c4db861683af5fc50ac3cb3751cf847d765211.tar.xz
clocksource/drivers/clksrc-probe: Introduce init functions with return code
Currently, the clksrc-probe is not able to handle any error from the init functions. There are different issues with the current code: - the code is duplicated in the init functions by writing error - every driver tends to panic in its own init function - counting the number of clocksources is not reliable This patch adds another table to store the functions returning an error. The table is temporary while we convert all the drivers to return an error and will disappear. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions