sweep2sleep: Code style clean-up

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>