Re: [PATCH 3/7] drivers/extcon: add local variable for newly allocated attribute_group**
From: Greg KH
Date: Mon Oct 09 2023 - 13:28:17 EST
On Mon, Oct 09, 2023 at 06:57:36PM +0200, Max Kellermann wrote:
> This allows the compiler to keep the pointer in a register and
> prepares for making the struct field "const".
Again, registers have nothing to do with this.
thanks,
greg k-h