OSDN Git Service

ASoC: s3c24xx_uda134x: Move global variables to driver's data structure
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 25 Oct 2016 10:57:57 +0000 (12:57 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 25 Oct 2016 13:06:19 +0000 (14:06 +0100)
commit892ccf0f2173a9ede5448411e9475616fb21fb51
tree44cf5c863b09d03bce98c3b65c2338e66ea4072f
parent5faf071d08ddd1c1be66deaa93a09ccf43f5b538
ASoC: s3c24xx_uda134x: Move global variables to driver's data structure

Gather all driver's private variables in common data structure
and allocate the data structure dynamically.

Also unused ENFORCE_RATES symbol and local variable (leftovers
from an erroneous rebase) are removed.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/s3c24xx_uda134x.c