sweep2wake: sysfs: add missing ifdefs

Signed-off-by: showp1984 <showp1984@gmail.com>