From: Artem Bityutskiy Subject: [PATCH 00/17] mtd: get rid of direct mtd->func use Date: Mon, 2 Jan 2012 14:20:30 +0200 Message-ID: <1325506847-23470-1-git-send-email-dedekind1@gmail.com> Cc: =?UTF-8?q?J=C3=B6rn=20Engel?= , linux-fsdevel@vger.kernel.org To: linux-mtd@lists.infradead.org Return-path: Received: from mga01.intel.com ([192.55.52.88]:45554 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752711Ab2ABMSm (ORCPT ); Mon, 2 Jan 2012 07:18:42 -0500 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi, this patch-set goes on top of the "MTD API rework" patches which I sent recently: http://lists.infradead.org/pipermail/linux-mtd/2011-December/039031.html This patch-set further removes direct mtd function pointers accesses like: if (mtd->block_isbad) blah This is a part of the big MTD API re-work we have started. The next steps will be: 1. Rename all the function pointers to make sure we catch all direct uses: (s/mtd->func/mtd->_func/g) 2. Move common input parameters check from implementations to the wrapper function to get rid of duplication. Artem.