Revision 257c2a02a8f668ea195bcb56eebbddc1af718e5e authored by Takashi Iwai on 27 January 2013, 09:20:22 UTC, committed by Takashi Iwai on 27 January 2013, 09:20:22 UTC
ASoC: Updates for v3.8-rc4 The usual set of driver updates, nothing too thrilling in here - one core change for the regulator bypass mode which was just not doing the right thing at all and a bunch of driver specifics.
lcm.c
#include <linux/kernel.h>
#include <linux/gcd.h>
#include <linux/export.h>
#include <linux/lcm.h>
/* Lowest common multiple */
unsigned long lcm(unsigned long a, unsigned long b)
{
if (a && b)
return (a * b) / gcd(a, b);
else if (b)
return b;
return a;
}
EXPORT_SYMBOL_GPL(lcm);
Computing file changes ...