]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: Export regulator functions
authorStanley Chu <stanley.chu@mediatek.com>
Thu, 16 Jun 2022 05:37:23 +0000 (13:37 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Jun 2022 02:08:44 +0000 (22:08 -0400)
commitb48aa4fe8162903d46d5bec72430cc47611c68b6
treeef0ae649e383ceb51ee8f1cc3b8ca223274d007f
parent3c2d5593a97e06a705858d79b3aa2a9d9b260b33
scsi: ufs: Export regulator functions

Export below regulator functions to allow vendors to
customize regulator configuration in their own platforms.

int ufshcd_populate_vreg(struct device *dev, const char *name,
                         struct ufs_vreg **out_vreg);
int ufshcd_get_vreg(struct device *dev, struct ufs_vreg *vreg);

Link: https://lore.kernel.org/r/20220616053725.5681-10-stanley.chu@mediatek.com
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c
drivers/ufs/host/ufshcd-pltfrm.c
drivers/ufs/host/ufshcd-pltfrm.h
include/ufs/ufshcd.h