Skip to content
  • Lars-Peter Clausen's avatar
    iio: Replace printk in __iio_update_buffers with dev_dbg · 63223c5f
    Lars-Peter Clausen authored
    
    
    While more verbose error messages are useful for debugging we should really
    not put those error messages into the kernel log for normal errors that are
    already reported to the application via the error code, when running in
    non-debug mode.
    
    Otherwise application authors might expect that this is part of the ABI and
    to get the error they should scan the kernel log. Which would be rather
    error prone itself since there is no direct mapping between a operation and
    the error message so it is impossible to find out which error message
    belongs to which error.
    
    Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
    Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
    63223c5f