staging: sm750fb: merge calcPLL and getPllValue into getChipClock
authorMike Rapoport <mike.rapoport@gmail.com>
Tue, 13 Oct 2015 06:26:44 +0000 (09:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:05:40 +0000 (22:05 -0700)
commit7751e0e2d2f2dd75e8e7adf96750ac403b799874
tree088402baa5b6f7fb9a325fb04c7b5ce6240c8512
parentbcc43a4b5ed75285aeacf2cf8d9b96d6379fb429
staging: sm750fb: merge calcPLL and getPllValue into getChipClock

The getChipClock function is used only to get MXCLK frequency, which
makes most of getPllValue function unused and thus. The detection of
MXCLK frequency may be implemented directly in getChipClock rendering
getPllValue and calcPLL unused.

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_chip.c