Re: [PATCH 1/3] i2c: convert SMBus alert setup function to return an ERRPTR
From: Wolfram Sang
Date: Mon Feb 17 2020 - 08:29:38 EST
> Anyway, it's just a function name, but while reading the code it was
> not obvious to me that i2c_install_smbus_alert() is actually a subset
> of i2c_new_client_device(). That said, I like the i2c_client_create*()
> variants.
I agree that i2c_client_create* is a nice naming, but it came in a bit
too late. Renaming the API is a tiresome job, and it shouldn't be done
(again) just for the sake of renaming IMO.
That all being said, I think i2c_new_smbus_alert_device is a better
naming than what is in this patchset and it is my favourite until now.
Attachment:
signature.asc
Description: PGP signature