Dmitry Osipenko
8d57c2f365
i2c: tegra: Remove "dma" variable from tegra_i2c_xfer_msg()
...
The "dma" variable of tegra_i2c_xfer_msg() function doesn't bring much in
regards to readability and generation of the code.
Besides readability, it's also not very nice that the is_curr_dma_xfer
is initialized in tegra_i2c_xfer_msg() and then could be overridden by
tegra_i2c_config_fifo_trig(). In a result, the "dma" variable creates
slight confusion since it's not instantly obvious why it's set after
tegra_i2c_config_fifo_trig().
Hence should be better to have the variable removed. This makes code
more consistent.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2020-10-05 22:57:43 +02:00
..
2019-06-19 17:09:55 +02:00
2020-07-04 08:25:13 +02:00
2020-07-04 08:25:13 +02:00
2019-06-05 17:37:16 +02:00
2020-05-20 15:28:03 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2020-07-23 22:04:08 +02:00
2020-04-30 16:11:41 +02:00
2020-09-21 11:45:43 +02:00
2019-03-25 15:21:17 +01:00
2020-07-23 22:04:08 +02:00
2020-05-05 16:37:21 +02:00
2020-08-05 11:52:27 +02:00
2019-03-24 22:41:51 +01:00
2020-08-05 11:52:27 +02:00
2019-05-30 11:26:37 -07:00
2020-04-18 23:42:14 +02:00
2020-09-18 23:02:03 +02:00
2020-08-12 22:03:58 +02:00
2020-04-18 23:42:14 +02:00
2020-04-26 10:00:29 +02:00
2020-07-22 12:28:07 +02:00
2019-02-08 22:18:51 +01:00
2020-04-18 23:42:14 +02:00
2019-07-15 21:10:39 -07:00
2020-01-31 09:01:25 +01:00
2020-04-15 12:09:09 +02:00
2020-03-21 19:53:08 +01:00
2020-06-23 21:24:33 +02:00
2020-06-23 21:24:33 +02:00
2020-05-30 23:02:22 +02:00
2020-07-23 22:04:08 +02:00
2020-08-07 20:07:44 +02:00
2020-05-30 23:02:22 +02:00
2020-07-23 22:04:08 +02:00
2020-03-24 22:36:59 +01:00
2019-06-05 17:37:10 +02:00
2020-09-29 21:37:46 +02:00
2020-08-10 15:47:38 +02:00
2019-05-30 11:26:37 -07:00
2020-07-04 08:25:13 +02:00
2020-06-11 12:32:14 +02:00
2020-07-24 21:31:33 +02:00
2020-03-10 12:31:55 +01:00
2020-02-07 12:54:13 -08:00
2020-04-15 12:09:09 +02:00
2019-05-30 11:26:37 -07:00
2020-09-29 21:34:26 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-06-07 20:45:24 +02:00
2020-04-18 23:42:14 +02:00
2020-04-18 23:42:14 +02:00
2020-09-27 19:59:27 +02:00
2020-01-15 20:31:27 +01:00
2019-07-15 21:10:39 -07:00
2019-05-30 11:26:41 -07:00
2020-09-21 11:58:49 +02:00
2020-09-21 11:46:05 +02:00
2019-06-05 17:36:38 +02:00
2020-04-18 23:42:14 +02:00
2020-04-18 23:42:14 +02:00
2020-09-27 19:58:38 +02:00
2020-07-04 08:20:38 +02:00
2018-01-15 19:19:55 +01:00
2020-08-10 11:39:35 +02:00
2020-03-24 22:36:59 +01:00
2020-09-29 21:40:03 +02:00
2020-03-24 22:36:59 +01:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2020-07-04 08:25:13 +02:00
2020-06-11 12:30:47 +02:00
2020-09-21 12:05:40 +02:00
2020-01-15 20:39:26 +01:00
2018-03-02 11:11:15 +01:00
2018-03-02 11:11:15 +01:00
2020-04-15 12:09:09 +02:00
2020-04-18 23:42:14 +02:00
2019-05-24 17:39:01 +02:00
2020-09-29 21:40:03 +02:00
2020-03-10 12:19:52 +01:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:37 -07:00
2020-04-15 12:12:52 +02:00
2020-07-04 08:25:13 +02:00
2020-02-07 12:54:13 -08:00
2020-07-04 08:25:13 +02:00
2020-04-30 16:18:30 +02:00
2019-06-19 17:09:10 +02:00
2020-06-03 22:37:37 +02:00
2020-04-18 23:38:20 +02:00
2020-09-29 21:40:03 +02:00
2020-04-26 10:15:37 +02:00
2020-09-21 11:06:52 +02:00
2020-03-24 22:36:59 +01:00
2020-09-27 19:58:56 +02:00
2019-06-05 17:37:10 +02:00
2020-06-13 13:12:38 -07:00
2019-06-05 17:37:10 +02:00
2016-08-22 08:19:55 +02:00
2020-07-04 08:25:13 +02:00
2020-07-04 08:25:13 +02:00
2019-06-19 17:09:07 +02:00
2020-07-04 08:25:13 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2020-04-18 23:42:14 +02:00
2020-04-02 15:54:13 -07:00
2020-09-21 11:45:43 +02:00
2019-08-14 14:56:54 +02:00
2020-09-21 11:45:43 +02:00
2020-09-21 11:45:43 +02:00
2020-04-15 12:09:09 +02:00
2020-04-18 23:42:14 +02:00
2020-07-23 22:04:08 +02:00
2020-01-15 20:39:41 +01:00
2019-05-30 11:29:52 -07:00
2020-10-05 22:57:43 +02:00
2020-03-24 22:36:59 +01:00
2020-01-06 15:40:43 +01:00
2020-04-18 23:42:14 +02:00
2020-04-18 23:42:14 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:37 -07:00
2020-07-23 22:04:08 +02:00
2019-05-30 11:26:32 -07:00
2020-03-24 22:36:59 +01:00
2019-05-21 11:28:45 +02:00
2020-08-28 09:00:00 +02:00
2020-04-18 23:42:14 +02:00
2020-04-15 12:09:09 +02:00
2020-04-15 12:09:09 +02:00
2020-09-29 21:34:26 +02:00
2020-09-27 19:58:38 +02:00
2020-07-23 22:04:08 +02:00