]> err.no Git - linux-2.6/commit
[ALSA] rtctimer: optimize module parameter validation
authorClemens Ladisch <clemens@ladisch.de>
Tue, 27 Sep 2005 13:57:24 +0000 (15:57 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 4 Nov 2005 12:16:48 +0000 (13:16 +0100)
commitd9ad1bdd6d72606a59cdc07e571fbe695e32f271
treea5a702fc2db1e8079bad25b42d818e2f7636232f
parentadf25df1be2e3843f786a2562202c7897bbd149d
[ALSA] rtctimer: optimize module parameter validation

Modules: RTC timer driver

The check whether rtctimer_freq is a power of two can be done easier
with a simple bit operation.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/core/rtctimer.c