From: Viresh Kumar Date: Thu, 16 Jul 2015 10:58:45 +0000 (+0530) Subject: x86/hpet: Migrate to new set_state interface X-Git-Tag: omap-for-v4.3/fixes-rc1~128^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8b5db7de66b75330a96f9f1ad7376b89646c953;p=pandora-kernel.git x86/hpet: Migrate to new set_state interface Migrate hpet driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Forward definition of 'hpet_clockevent' wasn't required and so it is placed after all the callback are defined, to avoid forward declaring all the callbacks. Signed-off-by: Viresh Kumar Cc: linaro-kernel@lists.linaro.org Cc: Jiang Liu Cc: Rasmus Villemoes Link: http://lkml.kernel.org/r/8cc9864b6d6342dfac28f270cf69f4cba46fffae.1437042675.git.viresh.kumar@linaro.org Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed