summaryrefslogtreecommitdiffstats
path: root/include/linux/rational.h
Commit message (Collapse)AuthorAgeFilesLines
* lib: Change mail address of Oskar SchirmerOskar Schirmer2012-05-171-1/+1
| | | | | | | | | That old mail address doesnt exist any more. This changes all occurences to my new address. Signed-off-by: Oskar Schirmer <oskar@scara.com> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* lib: isolate rational fractions helper functionOskar Schirmer2009-06-111-0/+19
Provide a helper function to determine optimum numerator denominator value pairs taking into account restricted register size. Useful especially with PLL and other clock configurations. Signed-off-by: Oskar Schirmer <os@emlix.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>