ralink: mt7620: fix compilation warning for device_reset in i2s driver
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 May 2023 21:08:36 +0000 (23:08 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 May 2023 01:15:38 +0000 (03:15 +0200)
commitaa7a2d971e5117216dca6cd0d7c41efa9235b0e6
tree7f48df133527b70fb77c1113e02cc7077bf73a0f
parentb8345bb5d492a911c2143528ca443a5c4f04a9a3
ralink: mt7620: fix compilation warning for device_reset in i2s driver

Fix compilation warning for device_reset in i2s driver.
Fix compilation warning:
sound/soc/ralink/ralink-i2s.c: In function 'ralink_i2s_probe':
sound/soc/ralink/ralink-i2s.c:885:9: error: ignoring return value of 'device_reset' declared with attribute 'warn_unused_result' [-Werror=unused-result]
  885 |         device_reset(&pdev->dev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errorralink: mt7620: fix compilation
warning for device_reset in i2s driver

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/ramips/patches-5.15/835-asoc-add-mt7620-support.patch