Re: [PATCH v4 2/4] nvmem: eeprom: at25: add support for FRAM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 20, 2021 at 07:47:12AM +0200, Jiri Prchal wrote:
> +static int mypow(int x, int n)
> +{
> +	int i;
> +	int res = 1;
> +
> +	for (i = 0; i < n; ++i)
> +		res *= x;
> +
> +	return res;
> +}

We really don't have a in-kernel function for this today?



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux