IIO: ADC: stm32-dfsdm: code optimization

Use of_device_get_match_data to optimize the source code.
No check is needed on dev_data as match table is defined in driver.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Arnaud Pouliquen 2018-01-15 09:57:39 +01:00 • committed by Mark Brown
commit abaca806fd
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 2 additions and 15 deletions