staging: iio: adt7316: remove dac vref buffer bypass from adt751x
authorJeremy Fertic <jeremyfertic@gmail.com>
Wed, 12 Dec 2018 00:55:01 +0000 (17:55 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Dec 2018 14:05:55 +0000 (14:05 +0000)
commit9f287a1c3fffbc10360d7490f5361fff0255a93d
tree2d5ca6fc9ecb5a8f2c492568a69232931dd0c912
parent10bfe7cc1739c22f0aa296b39e53f61e9e3f4d99
staging: iio: adt7316: remove dac vref buffer bypass from adt751x

The option to allow the external vref to bypass the reference buffer is
only available for adt7316/7/8. Remove the attributes for adt751x as
well as the chip->id checks from the show and store functions.

Signed-off-by: Jeremy Fertic <jeremyfertic@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/addac/adt7316.c