at24: use devm_i2c_new_dummy_device()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- i2c_new_dummy_device() returns ERR_PTR(), not NULL so check the value correctly
- remove the no longer needed i2c_unregister_device() in error path
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | eeprom: at24: use devm_i2c_new_dummy_device()drivers/ | +9 | 2 replies | |
| 2/2 | eeprom: at24: drop unnecessary labeldrivers/ | +18 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Wolfram Sang |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] at24: use devm_i2c_new_dummy_device()
From: Bartosz Golaszewski <[email protected]>
Now that we have a resource managed version of i2c_new_dummy_device(), use it in at24.
v1 -> v2:
- i2c_new_dummy_device() returns ERR_PTR(), not NULL so check the value correctly
- remove the no longer needed i2c_unregister_device() in error path
Bartosz Golaszewski (2):
eeprom: at24: use devm_i2c_new_dummy_device()
eeprom: at24: drop unnecessary label
drivers/misc/eeprom/at24.c | 75 ++++++++++++-------------------------- 1 file changed, 24 insertions(+), 51 deletions(-)
Signature · 1 line
2.21.0