]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: tegra: remove BUG() macro
authorBitan Biswas <bbiswas@nvidia.com>
Tue, 18 Jun 2019 11:09:42 +0000 (04:09 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 21 Jun 2019 21:25:22 +0000 (23:25 +0200)
commit337402be08e549f480703951db38f99e94ad5226
treefe862a9368f1e508c88bfed58d6059d78f03a3a3
parent61b4fb4e7575549d736ce0421631921c18b8f737
i2c: tegra: remove BUG() macro

The usage of BUG() macro is generally discouraged in kernel, unless
it's a problem that results in a physical damage or loss of data.
This patch removes unnecessary BUG() macros and replaces the rest
with warning.

Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-tegra.c