diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-03-08 12:22:50 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-04-07 10:31:33 +0200 |
commit | f7cef1b743e84bdc7b1f2e5711615aaddf101ca8 (patch) | |
tree | cceddbb8cb940dd1efd57d503b7fad315ee999e2 /drivers/crypto/padlock-aes.c | |
parent | thermal/drivers/rockchip: Use dev_err_probe (diff) | |
download | linux-f7cef1b743e84bdc7b1f2e5711615aaddf101ca8.tar.xz linux-f7cef1b743e84bdc7b1f2e5711615aaddf101ca8.zip |
thermal/drivers/rockchip: Simplify channel id logic
Replace the channel ID lookup table by a simple offset, since
the channel IDs are consecutive.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20230308112253.15659-5-sebastian.reichel@collabora.com
Diffstat (limited to 'drivers/crypto/padlock-aes.c')
0 files changed, 0 insertions, 0 deletions